Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000981/0.000981, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9035/0.9035, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2364/0.2364, allocations: 34.23 MB / 294.8 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.205e-05, allocations: 2.281 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.2733/0.2733, allocations: 119.7 MB / 0.5487 GB, free: 8.848 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.2765, allocations: 4.245 MB / 0.5529 GB, free: 4.602 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.3e-05/0.2766, allocations: 8 kB / 0.5529 GB, free: 4.594 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.2769, allocations: 55.55 kB / 0.5529 GB, free: 4.539 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.2782, allocations: 0.7689 MB / 0.5537 GB, free: 3.766 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.2784, allocations: 166.5 kB / 0.5538 GB, free: 3.609 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.2788, allocations: 381.9 kB / 0.5542 GB, free: 3.234 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.2788, allocations: 9.812 kB / 0.5542 GB, free: 3.227 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.279, allocations: 207.4 kB / 0.5544 GB, free: 3.023 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.2792, allocations: 175.6 kB / 0.5546 GB, free: 2.852 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.2792, allocations: 8 kB / 0.5546 GB, free: 2.844 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006064/0.2798, allocations: 0.6198 MB / 0.5552 GB, free: 2.223 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.2799, allocations: 47 kB / 0.5552 GB, free: 2.18 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.2799, allocations: 87.77 kB / 0.5553 GB, free: 2.094 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004821/0.2804, allocations: 494.6 kB / 0.5558 GB, free: 1.609 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2804, allocations: 0 / 0.5558 GB, free: 1.609 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2804, allocations: 4 kB / 0.5558 GB, free: 1.605 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2804, allocations: 0 / 0.5558 GB, free: 1.605 MB / 458.7 MB 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.0007506/0.2812, allocations: 0.533 MB / 0.5563 GB, free: 1.047 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2812, allocations: 12.03 kB / 0.5563 GB, free: 1.035 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.2813, allocations: 58.73 kB / 0.5564 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.122e-05/0.2814, allocations: 28.83 kB / 0.5564 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.2816, allocations: 165.5 kB / 0.5566 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.2817, allocations: 230.7 kB / 0.5568 GB, free: 492 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.2817, allocations: 24.38 kB / 0.5568 GB, free: 468 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.2821, allocations: 0.5064 MB / 0.5573 GB, free: 15.88 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2822, allocations: 3.938 kB / 0.5573 GB, free: 15.88 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.2822, allocations: 12 kB / 0.5573 GB, free: 15.87 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.2822, allocations: 8 kB / 0.5573 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004881/0.2827, allocations: 0.7159 MB / 0.558 GB, free: 15.14 MB / 474.7 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.0008397/0.2835, allocations: 1.003 MB / 0.559 GB, free: 14.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.2838, allocations: 161.5 kB / 0.5592 GB, free: 13.91 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.378e-05/0.2839, allocations: 85.47 kB / 0.5592 GB, free: 13.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000783/0.2847, allocations: 0.6837 MB / 0.5599 GB, free: 13.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.2847, allocations: 38.5 kB / 0.56 GB, free: 13.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.2847, allocations: 4 kB / 0.56 GB, free: 13.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004513/0.2851, allocations: 209.4 kB / 0.5602 GB, free: 12.87 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002774/0.2854, allocations: 55.41 kB / 0.5602 GB, free: 12.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.2855, allocations: 237 kB / 0.5604 GB, free: 12.56 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.2856, allocations: 29.7 kB / 0.5605 GB, free: 12.53 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.2856, allocations: 219.5 kB / 0.5607 GB, free: 12.31 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.2857, allocations: 55.53 kB / 0.5607 GB, free: 12.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.548e-05/0.2857, allocations: 90.08 kB / 0.5608 GB, free: 12.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.2858, allocations: 326.8 kB / 0.5611 GB, free: 11.83 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.2859, allocations: 56.95 kB / 0.5612 GB, free: 11.78 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.286, allocations: 324.5 kB / 0.5615 GB, free: 11.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.2863, allocations: 410.9 kB / 0.5619 GB, free: 10.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2863, allocations: 4 kB / 0.5619 GB, free: 10.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003381/0.2866, allocations: 373.5 kB / 0.5622 GB, free: 10.42 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2867, allocations: 8 kB / 0.5622 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2867, allocations: 12 kB / 0.5623 GB, free: 10.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2867, allocations: 15.94 kB / 0.5623 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.2869, allocations: 103.8 kB / 0.5624 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.2869, allocations: 28.7 kB / 0.5624 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.287, allocations: 16 kB / 0.5624 GB, free: 10.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.287, allocations: 28.34 kB / 0.5624 GB, free: 10.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 8.272e-05/0.2871, allocations: 151 kB / 0.5626 GB, free: 10.06 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.2871, allocations: 23.86 kB / 0.5626 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.2873, allocations: 155 kB / 0.5628 GB, free: 9.879 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.2873, allocations: 11.92 kB / 0.5628 GB, free: 9.867 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2874, allocations: 7.938 kB / 0.5628 GB, free: 9.859 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2874, allocations: 0 / 0.5628 GB, free: 9.859 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.2877, allocations: 395.3 kB / 0.5632 GB, free: 9.418 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2877, allocations: 3.984 kB / 0.5632 GB, free: 9.414 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.302e-05/0.2878, allocations: 27.98 kB / 0.5632 GB, free: 9.387 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2878, allocations: 3.938 kB / 0.5632 GB, free: 9.383 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.2878, allocations: 4 kB / 0.5632 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2878, allocations: 0 / 0.5632 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.2878, allocations: 2.438 kB / 0.5632 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.2879, allocations: 224.8 kB / 0.5634 GB, free: 9.141 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.288, allocations: 35.92 kB / 0.5634 GB, free: 9.105 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.288, allocations: 11.97 kB / 0.5635 GB, free: 9.094 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2881, allocations: 11.94 kB / 0.5635 GB, free: 9.082 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.2881, allocations: 7.984 kB / 0.5635 GB, free: 9.074 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.2881, allocations: 15.98 kB / 0.5635 GB, free: 9.059 MB / 474.7 MB Notification: Performance of sorting global known variables: time 7.347e-05/0.2882, allocations: 145.2 kB / 0.5636 GB, free: 8.922 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2882, allocations: 0 / 0.5636 GB, free: 8.922 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.2885, allocations: 99.86 kB / 0.5637 GB, free: 8.824 MB / 474.7 MB 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.0004349/0.2889, allocations: 0.8075 MB / 0.5645 GB, free: 7.984 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.2891, allocations: 172 kB / 0.5647 GB, free: 7.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.2891, allocations: 4 kB / 0.5647 GB, free: 7.816 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.254e-05/0.2892, allocations: 31.92 kB / 0.5647 GB, free: 7.785 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.2894, allocations: 47.7 kB / 0.5648 GB, free: 7.742 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.2915, allocations: 2.693 MB / 0.5674 GB, free: 4.707 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.596e-05/0.2916, allocations: 116.6 kB / 0.5675 GB, free: 4.578 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.2917, allocations: 58.91 kB / 0.5676 GB, free: 4.523 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.2918, allocations: 60.48 kB / 0.5676 GB, free: 4.465 MB / 474.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2918, allocations: 4 kB / 0.5676 GB, free: 4.461 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.3087, allocations: 6.147 MB / 0.5736 GB, free: 14.47 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/7.165, allocations: 0 / 0.5736 GB, free: 14.47 MB / 490.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.155437171459198]