Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008333/0.0008333, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004727/0.004727, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8415/0.8415, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.106e-05, allocations: 2.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002958/0.002979, allocations: 1.932 MB / 300.4 MB, free: 1.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.004075, allocations: 0.5813 MB / 301 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.03e-05/0.004156, allocations: 0 / 301 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.409e-05/0.00422, allocations: 19.84 kB / 301 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.004353, allocations: 47.56 kB / 301 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.004678, allocations: 87.69 kB / 301.1 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.004866, allocations: 199.2 kB / 301.3 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.004996, allocations: 33.61 kB / 301.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.005181, allocations: 115.7 kB / 301.5 MB, free: 468 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.621e-05/0.005257, allocations: 55.8 kB / 301.5 MB, free: 412 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.005289, allocations: 16 kB / 301.5 MB, free: 396 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.412e-05/0.005313, allocations: 16 kB / 301.5 MB, free: 380 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.005344, allocations: 39.83 kB / 301.6 MB, free: 340 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.004e-05/0.005394, allocations: 55.89 kB / 301.6 MB, free: 284 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.005571, allocations: 179.4 kB / 301.8 MB, free: 104 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.005578, allocations: 4 kB / 301.8 MB, free: 100 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005579, allocations: 0 / 301.8 MB, free: 100 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005584, allocations: 0 / 301.8 MB, free: 100 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.1294/0.1349, allocations: 389.6 kB / 302.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.135, allocations: 15.3 kB / 302.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.135, allocations: 44.39 kB / 302.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.1351, allocations: 17.19 kB / 302.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1352, allocations: 141.6 kB / 302.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1352, allocations: 7.812 kB / 302.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1352, allocations: 8.844 kB / 302.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.1355, allocations: 206.2 kB / 302.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1355, allocations: 1.25 kB / 302.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.1355, allocations: 5.594 kB / 302.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1355, allocations: 7.469 kB / 302.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.1356, allocations: 95.81 kB / 302.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006252/0.1363, allocations: 445.7 kB / 303.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.1365, allocations: 101 kB / 303.3 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.1366, allocations: 64.28 kB / 303.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1366, allocations: 9.312 kB / 303.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.1367, allocations: 35.25 kB / 303.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.1367, allocations: 0 / 303.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002992/0.137, allocations: 142.8 kB / 303.5 MB, free: 15.13 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.137, allocations: 108.6 kB / 303.6 MB, free: 15 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.976e-05/0.1371, allocations: 164.5 kB / 303.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.1371, allocations: 31.47 kB / 303.8 MB, free: 14.85 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.1372, allocations: 120.6 kB / 303.9 MB, free: 14.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.1372, allocations: 28.45 kB / 304 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.1372, allocations: 31.77 kB / 304 MB, free: 14.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.574e-05/0.1373, allocations: 321.9 kB / 304.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-05/0.1373, allocations: 39.23 kB / 304.3 MB, free: 14.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.142e-05/0.1374, allocations: 127.2 kB / 304.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.1376, allocations: 99.81 kB / 304.6 MB, free: 14.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1376, allocations: 1.094 kB / 304.6 MB, free: 14.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001994/0.1378, allocations: 156.4 kB / 304.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1378, allocations: 6.281 kB / 304.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1378, allocations: 0 / 304.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1378, allocations: 1.578 kB / 304.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.1381, allocations: 92.69 kB / 304.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008406/0.139, allocations: 1.387 MB / 306.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.827e-05/0.1391, allocations: 20.34 kB / 306.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1391, allocations: 7.922 kB / 306.2 MB, free: 12.74 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.183e-05/0.1392, allocations: 124.4 kB / 306.4 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.1392, allocations: 11.11 kB / 306.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.1395, allocations: 166.7 kB / 306.5 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1395, allocations: 1.562 kB / 306.5 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1395, allocations: 5.438 kB / 306.5 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1395, allocations: 0.7031 kB / 306.5 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.14, allocations: 414 kB / 306.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.14, allocations: 4.031 kB / 306.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.1401, allocations: 22.7 kB / 307 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001567/0.1402, allocations: 34.17 kB / 307 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1402, allocations: 5.891 kB / 307 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005477/0.1408, allocations: 1.279 MB / 308.3 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1408, allocations: 7.734 kB / 308.3 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.1411, allocations: 292.9 kB / 308.6 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.1412, allocations: 20.62 kB / 308.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1412, allocations: 2.812 kB / 308.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.1412, allocations: 13.92 kB / 308.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.1413, allocations: 19.58 kB / 308.6 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1413, allocations: 6.547 kB / 308.6 MB, free: 10.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.464e-05/0.1414, allocations: 117.3 kB / 308.8 MB, free: 10.6 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1414, allocations: 1.312 kB / 308.8 MB, free: 10.6 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002012/0.1416, allocations: 39.09 kB / 308.8 MB, free: 10.59 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000435/0.142, allocations: 0.8197 MB / 309.6 MB, free: 9.871 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004059/0.1424, allocations: 141.1 kB / 309.7 MB, free: 9.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.1424, allocations: 0.75 kB / 309.7 MB, free: 9.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.1426, allocations: 164 kB / 309.9 MB, free: 9.715 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.1428, allocations: 8.438 kB / 309.9 MB, free: 9.711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.1448, allocations: 2.065 MB / 312 MB, free: 8.184 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.06e-05/0.1449, allocations: 98.81 kB / 312.1 MB, free: 8.105 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.896e-05/0.1449, allocations: 11.86 kB / 312.1 MB, free: 8.105 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.566e-05/0.145, allocations: 39.02 kB / 312.1 MB, free: 8.074 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.145, allocations: 1.281 kB / 312.1 MB, free: 8.074 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.1666, allocations: 4.085 MB / 316.2 MB, free: 6.777 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/7.804, allocations: 5.188 kB / 316.2 MB, free: 6.773 MB / 282.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --stepSize=0.0100051 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.336011405102909]