Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.002108/0.002108, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.0024/0.0024, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2324/0.2324, allocations: 46.93 MB / 360.9 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 64.05 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3424, allocations: 66.05 MB / 0.5607 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01389/0.3562, allocations: 11.37 MB / 0.5718 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.3708, allocations: 11.86 MB / 0.5834 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002834/0.3711, allocations: 0 / 0.5834 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004486/0.3716, allocations: 75.48 kB / 0.5835 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009978/0.3816, allocations: 3.138 MB / 0.5865 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.382, allocations: 151.5 kB / 0.5867 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006411/0.3884, allocations: 3.971 MB / 0.5905 GB, free: 5.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.595e-05/0.3885, allocations: 20.56 kB / 0.5906 GB, free: 5.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.3887, allocations: 139.5 kB / 0.5907 GB, free: 5.539 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01125/0.4, allocations: 7.254 MB / 0.5978 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.716e-05/0.4, allocations: 8 kB / 0.5978 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005752/0.4058, allocations: 2.15 MB / 0.5999 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.4059, allocations: 39.77 kB / 0.5999 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.4061, allocations: 131.4 kB / 0.6001 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004065/0.4102, allocations: 1.543 MB / 0.6016 GB, free: 10.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4102, allocations: 4 kB / 0.6016 GB, free: 10.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4102, allocations: 0 / 0.6016 GB, free: 10.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.4102, allocations: 0 / 0.6016 GB, free: 10.4 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002588/0.4128, allocations: 0.8661 MB / 0.6024 GB, free: 9.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/0.4129, allocations: 16.03 kB / 0.6024 GB, free: 9.484 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/0.413, allocations: 66.72 kB / 0.6025 GB, free: 9.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006522/0.4136, allocations: 76.73 kB / 0.6026 GB, free: 9.336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/0.4142, allocations: 186.2 kB / 0.6027 GB, free: 9.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.4142, allocations: 21.03 kB / 0.6028 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.757e-05/0.4143, allocations: 28.38 kB / 0.6028 GB, free: 9.078 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.4153, allocations: 494.5 kB / 0.6033 GB, free: 8.562 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.4153, allocations: 0 / 0.6033 GB, free: 8.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.4154, allocations: 16 kB / 0.6033 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4154, allocations: 8 kB / 0.6033 GB, free: 8.539 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.4165, allocations: 0.6927 MB / 0.604 GB, free: 7.844 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006705/0.4233, allocations: 2.769 MB / 0.6067 GB, free: 4.957 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006208/0.4239, allocations: 215.2 kB / 0.6069 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.424, allocations: 69.39 kB / 0.6069 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07739/0.5014, allocations: 21.23 MB / 0.6277 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007896/0.5022, allocations: 342.7 kB / 0.628 GB, free: 14.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.5022, allocations: 0 / 0.628 GB, free: 14.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.00295/0.5051, allocations: 0.9936 MB / 0.629 GB, free: 13.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002574/0.5054, allocations: 482.5 kB / 0.6294 GB, free: 13.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.5055, allocations: 158 kB / 0.6296 GB, free: 13.24 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.5056, allocations: 33.7 kB / 0.6296 GB, free: 13.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.5057, allocations: 180.4 kB / 0.6298 GB, free: 13.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.5058, allocations: 142.7 kB / 0.6299 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.5059, allocations: 98.12 kB / 0.63 GB, free: 12.78 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.5061, allocations: 326.8 kB / 0.6303 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.5062, allocations: 72.95 kB / 0.6304 GB, free: 12.38 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.5065, allocations: 314.1 kB / 0.6307 GB, free: 11.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/0.5071, allocations: 452.1 kB / 0.6311 GB, free: 11.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5071, allocations: 4 kB / 0.6311 GB, free: 11.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008095/0.5079, allocations: 443.2 kB / 0.6316 GB, free: 10.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.5079, allocations: 8 kB / 0.6316 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.5079, allocations: 16.12 kB / 0.6316 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/0.5099, allocations: 309.4 kB / 0.6319 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.5102, allocations: 111.8 kB / 0.632 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008376/0.5111, allocations: 1.219 MB / 0.6332 GB, free: 9.242 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.5113, allocations: 23.95 kB / 0.6332 GB, free: 9.219 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.5113, allocations: 35.92 kB / 0.6332 GB, free: 9.184 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001818/0.5115, allocations: 161.8 kB / 0.6334 GB, free: 9.016 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.321e-05/0.5116, allocations: 23.91 kB / 0.6334 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.513, allocations: 1.08 MB / 0.6345 GB, free: 7.875 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.513, allocations: 16.14 kB / 0.6345 GB, free: 7.859 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.513, allocations: 4 kB / 0.6345 GB, free: 7.855 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.513, allocations: 3.984 kB / 0.6345 GB, free: 7.852 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.5146, allocations: 1.258 MB / 0.6357 GB, free: 6.527 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5146, allocations: 7.938 kB / 0.6357 GB, free: 6.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.5148, allocations: 48 kB / 0.6358 GB, free: 6.473 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.516, allocations: 241.5 kB / 0.636 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.516, allocations: 11.98 kB / 0.636 GB, free: 6.219 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007979/0.5168, allocations: 1.266 MB / 0.6372 GB, free: 4.906 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.5168, allocations: 7.938 kB / 0.6372 GB, free: 4.898 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007913/0.5176, allocations: 0.6185 MB / 0.6378 GB, free: 4.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.5176, allocations: 39.66 kB / 0.6379 GB, free: 4.191 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.5177, allocations: 47.62 kB / 0.6379 GB, free: 4.145 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.5179, allocations: 8 kB / 0.6379 GB, free: 4.137 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.518, allocations: 27.95 kB / 0.638 GB, free: 4.109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.518, allocations: 12 kB / 0.638 GB, free: 4.098 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003211/0.5183, allocations: 275.1 kB / 0.6382 GB, free: 3.828 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5183, allocations: 0 / 0.6382 GB, free: 3.828 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00138/0.5197, allocations: 454.5 kB / 0.6387 GB, free: 3.383 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00237/0.5221, allocations: 1.709 MB / 0.6403 GB, free: 1.605 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006491/0.5227, allocations: 372.1 kB / 0.6407 GB, free: 1.238 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5227, allocations: 0 / 0.6407 GB, free: 1.238 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.523, allocations: 206.2 kB / 0.6409 GB, free: 1.031 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/0.5238, allocations: 126.2 kB / 0.641 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.156/1.68, allocations: 0.495 GB / 1.136 GB, free: 70.53 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/1.68, allocations: 0.8195 MB / 1.137 GB, free: 69.69 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003637/1.681, allocations: 167.2 kB / 1.137 GB, free: 69.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/1.681, allocations: 167.4 kB / 1.137 GB, free: 69.38 MB / 0.6231 GB Notification: Performance of SimCode: time 1.412e-06/1.681, allocations: 0 / 1.137 GB, free: 69.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04945/1.73, allocations: 20.45 MB / 1.157 GB, free: 49.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/15.14, allocations: 4.062 kB / 1.157 GB, free: 49.12 MB / 0.6231 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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: 20.60421263286844]