Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 114.7 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 191.7 kB / 20.07 MB, free: 2.984 MB / 14.72 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 1.479/1.479, allocations: 207.6 MB / 230.5 MB, free: 4.031 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3529/0.3529, allocations: 44.23 MB / 326.5 MB, free: 7.25 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.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.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 71.89 kB / 462.2 MB, free: 1.008 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2604, allocations: 61 MB / 0.5109 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1634/0.4238, allocations: 136.6 MB / 0.6443 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00668/0.4305, allocations: 4.727 MB / 0.6489 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.4307, allocations: 0 / 0.6489 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.4312, allocations: 59.59 kB / 0.649 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.4334, allocations: 0.7345 MB / 0.6497 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.4338, allocations: 154.3 kB / 0.6498 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.285/0.7189, allocations: 377.2 kB / 0.6502 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.719, allocations: 11.22 kB / 0.6502 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.7193, allocations: 152.8 kB / 0.6504 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.7197, allocations: 189.7 kB / 0.6505 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.7197, allocations: 8.312 kB / 0.6505 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.7213, allocations: 0.6925 MB / 0.6512 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.7214, allocations: 48.69 kB / 0.6513 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.7216, allocations: 110.7 kB / 0.6514 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.7227, allocations: 464.3 kB / 0.6518 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.7227, allocations: 1.719 kB / 0.6518 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.976e-06/0.7227, allocations: 0.5625 kB / 0.6518 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.7227, allocations: 1 kB / 0.6518 GB, free: 2.348 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00135/0.724, allocations: 0.6021 MB / 0.6524 GB, free: 17.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.7241, allocations: 15.22 kB / 0.6524 GB, free: 17.9 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.035e-05/0.7241, allocations: 61.44 kB / 0.6525 GB, free: 17.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.7243, allocations: 28.8 kB / 0.6525 GB, free: 17.85 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.7247, allocations: 222.7 kB / 0.6527 GB, free: 17.65 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.7249, allocations: 125.1 kB / 0.6528 GB, free: 17.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.7249, allocations: 20.09 kB / 0.6529 GB, free: 17.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/0.7255, allocations: 331.2 kB / 0.6532 GB, free: 17.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.7255, allocations: 4.125 kB / 0.6532 GB, free: 17.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.7255, allocations: 12.25 kB / 0.6532 GB, free: 17.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.7256, allocations: 7.125 kB / 0.6532 GB, free: 17.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.7266, allocations: 0.7378 MB / 0.6539 GB, free: 17.43 MB / 0.5137 GB 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.001369/0.728, allocations: 1.232 MB / 0.6551 GB, free: 16.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.7284, allocations: 161.4 kB / 0.6553 GB, free: 16.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.7285, allocations: 88.5 kB / 0.6554 GB, free: 16.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002867/0.7314, allocations: 2.694 MB / 0.658 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.7314, allocations: 33.94 kB / 0.658 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.7314, allocations: 0 / 0.658 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.000627/0.732, allocations: 229.8 kB / 0.6582 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.7321, allocations: 54.7 kB / 0.6583 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.7323, allocations: 211.8 kB / 0.6585 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.7323, allocations: 28.27 kB / 0.6585 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.7324, allocations: 220.3 kB / 0.6587 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.7325, allocations: 58.77 kB / 0.6588 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-05/0.7326, allocations: 82.41 kB / 0.6589 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.7327, allocations: 328 kB / 0.6592 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.321e-05/0.7328, allocations: 51.11 kB / 0.6592 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.733, allocations: 331.2 kB / 0.6595 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.7334, allocations: 435.8 kB / 0.66 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.7334, allocations: 3.781 kB / 0.66 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005919/0.734, allocations: 382 kB / 0.6603 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.7341, allocations: 9.531 kB / 0.6603 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.7341, allocations: 10 kB / 0.6603 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.255e-05/0.7341, allocations: 20.62 kB / 0.6604 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.7345, allocations: 107.2 kB / 0.6605 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.193e-05/0.7345, allocations: 20.16 kB / 0.6605 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.7348, allocations: 15.16 kB / 0.6605 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.7348, allocations: 31.66 kB / 0.6605 GB, free: 12.07 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0001582/0.735, allocations: 146 kB / 0.6607 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.735, allocations: 23.3 kB / 0.6607 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.7354, allocations: 159.1 kB / 0.6608 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.7354, allocations: 3.344 kB / 0.6608 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7354, allocations: 4.469 kB / 0.6609 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.7354, allocations: 2.234 kB / 0.6609 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000654/0.7361, allocations: 444.8 kB / 0.6613 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.7361, allocations: 1.031 kB / 0.6613 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.7362, allocations: 33.58 kB / 0.6613 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.7362, allocations: 1.469 kB / 0.6613 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.7363, allocations: 6.938 kB / 0.6613 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.7363, allocations: 1.891 kB / 0.6613 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7363, allocations: 1.594 kB / 0.6613 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.7365, allocations: 223 kB / 0.6615 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.7367, allocations: 106.9 kB / 0.6616 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.7367, allocations: 3.062 kB / 0.6616 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.7369, allocations: 11.05 kB / 0.6616 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.7369, allocations: 9.406 kB / 0.6617 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.737, allocations: 8.234 kB / 0.6617 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001408/0.7371, allocations: 150.8 kB / 0.6618 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7371, allocations: 0 / 0.6618 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004994/0.7376, allocations: 92.31 kB / 0.6619 GB, free: 11.21 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 1 * 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.000698/0.7383, allocations: 0.8228 MB / 0.6627 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.7386, allocations: 172.6 kB / 0.6629 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7386, allocations: 3.281 kB / 0.6629 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.506e-05/0.7386, allocations: 34.36 kB / 0.6629 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.739, allocations: 44.78 kB / 0.6629 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.7418, allocations: 2.728 MB / 0.6656 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.7421, allocations: 0.7269 MB / 0.6663 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002146/0.7423, allocations: 55.91 kB / 0.6664 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.813e-05/0.7424, allocations: 61.95 kB / 0.6664 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.7424, allocations: 0.6562 kB / 0.6664 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.7686, allocations: 5.324 MB / 0.6716 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/9.042, allocations: 2.984 kB / 0.6716 GB, free: 7.156 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.00769218802452]