Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008473/0.0008474, allocations: 93.56 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000945/0.0009451, allocations: 172.6 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 223.3 MB / 242.3 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1691/0.1691, allocations: 44.24 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002802/0.0002803, allocations: 10.34 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09447/0.09476, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.00308/0.09789, allocations: 2.974 MB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.1001, allocations: 1.501 MB / 476.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.1004, allocations: 19.88 kB / 476.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.1008, allocations: 111.2 kB / 477 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000379/0.1012, allocations: 159 kB / 477.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000886/0.1021, allocations: 0.4889 MB / 477.6 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007575/0.1029, allocations: 0.8381 MB / 478.4 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003251/0.1032, allocations: 222.4 kB / 478.7 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003226/0.1035, allocations: 298.4 kB / 478.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003794/0.1039, allocations: 350.1 kB / 479.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.579e-05/0.104, allocations: 20 kB / 479.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.71e-05/0.104, allocations: 20 kB / 479.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.1042, allocations: 159.3 kB / 479.5 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.1044, allocations: 315.5 kB / 479.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005152/0.105, allocations: 0.6847 MB / 480.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.105, allocations: 0 / 480.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.105, allocations: 0 / 480.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.105, allocations: 3.938 kB / 480.5 MB, free: 5.078 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001854/0.1068, allocations: 1.051 MB / 481.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1069, allocations: 12.03 kB / 481.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.789e-05/0.107, allocations: 82.72 kB / 481.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.1071, allocations: 87.91 kB / 481.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007725/0.1079, allocations: 0.5662 MB / 482.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.1079, allocations: 37.38 kB / 482.3 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.36e-05/0.108, allocations: 56.28 kB / 482.4 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.1091, allocations: 0.6408 MB / 483 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.1091, allocations: 4 kB / 483 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.682e-05/0.1092, allocations: 20 kB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.1092, allocations: 12 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.1102, allocations: 0.4939 MB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003101/0.1133, allocations: 2.639 MB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.1144, allocations: 0.5834 MB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005454/0.1149, allocations: 278.4 kB / 487 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.115, allocations: 4 kB / 487 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.115, allocations: 42.56 kB / 487.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.473e-06/0.115, allocations: 0 / 487.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.00232/0.1174, allocations: 1.206 MB / 488.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.1174, allocations: 136.5 kB / 488.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/0.1182, allocations: 0.6528 MB / 489.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.1182, allocations: 37.7 kB / 489.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.1185, allocations: 360 kB / 489.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.1186, allocations: 177.5 kB / 489.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/0.1187, allocations: 61.69 kB / 489.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.1188, allocations: 333.9 kB / 490 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005926/0.1194, allocations: 277.1 kB / 490.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000684/0.1201, allocations: 448.5 kB / 490.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.1214, allocations: 0.7132 MB / 491.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1214, allocations: 3.938 kB / 491.4 MB, free: 9.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001592/0.123, allocations: 0.8641 MB / 492.3 MB, free: 8.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.1231, allocations: 229.7 kB / 492.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1231, allocations: 4 kB / 492.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.1233, allocations: 56.81 kB / 492.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000824/0.1241, allocations: 207.8 kB / 492.8 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.1253, allocations: 1.499 MB / 494.3 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/0.1258, allocations: 95.58 kB / 494.4 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.1259, allocations: 24 kB / 494.4 MB, free: 6.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.1259, allocations: 6.5 kB / 494.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001386/0.1273, allocations: 0.7497 MB / 495.2 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1273, allocations: 4 kB / 495.2 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001295/0.1274, allocations: 60.81 kB / 495.2 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007651/0.1282, allocations: 199.9 kB / 495.4 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.1293, allocations: 1.499 MB / 496.9 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.1297, allocations: 75.64 kB / 497 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.1298, allocations: 27.98 kB / 497 MB, free: 3.691 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002617/0.1301, allocations: 290.4 kB / 497.3 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.1302, allocations: 79.06 kB / 497.4 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.1304, allocations: 86.2 kB / 497.5 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1304, allocations: 8 kB / 497.5 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1304, allocations: 0 / 497.5 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1304, allocations: 3.984 kB / 497.5 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.1315, allocations: 0.8687 MB / 498.4 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1315, allocations: 0 / 498.4 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006083/0.1321, allocations: 119.9 kB / 498.5 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1322, allocations: 0 / 498.5 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/0.1322, allocations: 19.98 kB / 498.5 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1322, allocations: 3.938 kB / 498.5 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1322, allocations: 0 / 498.5 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.1341, allocations: 1.203 MB / 499.7 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.1343, allocations: 196.1 kB / 499.9 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.512e-05/0.1344, allocations: 19.98 kB / 499.9 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005127/0.1349, allocations: 59.89 kB / 500 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.135, allocations: 39.88 kB / 0.4883 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.1351, allocations: 19.94 kB / 0.4883 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005463/0.1356, allocations: 467 kB / 0.4887 GB, free: 136 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1356, allocations: 0 / 0.4887 GB, free: 136 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.000697/0.1363, allocations: 196 kB / 0.4889 GB, free: 15.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002173/0.1385, allocations: 1.752 MB / 0.4906 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002382/0.1409, allocations: 1.254 MB / 0.4919 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1409, allocations: 0 / 0.4919 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006073/0.1415, allocations: 303.7 kB / 0.4922 GB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.1427, allocations: 177.4 kB / 0.4923 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009898/0.1526, allocations: 7.278 MB / 0.4994 GB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.1531, allocations: 0.9574 MB / 0.5004 GB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004599/0.1536, allocations: 132.8 kB / 0.5005 GB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/0.154, allocations: 259.3 kB / 0.5007 GB, free: 3.484 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.154, allocations: 0 / 0.5007 GB, free: 3.484 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1918/0.3458, allocations: 14.35 MB / 0.5148 GB, free: 45.58 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/0.346, allocations: 222.1 kB / 0.515 GB, free: 45.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.25, allocations: 1.422 kB / 0.515 GB, free: 45.32 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches