Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.0008115/0.0008115, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008872/0.0008872, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8915/0.8915, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2465/0.2465, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 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_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.991e-05, allocations: 2.281 kB / 442.2 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.2064/0.2065, allocations: 10.14 MB / 452.4 MB, free: 38.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005487/0.2119, allocations: 10.3 MB / 462.7 MB, free: 31.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.212, allocations: 2.75 kB / 462.7 MB, free: 31.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.2123, allocations: 64.03 kB / 462.7 MB, free: 31.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004063/0.2163, allocations: 3.18 MB / 465.9 MB, free: 29.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.2166, allocations: 149.7 kB / 466.1 MB, free: 29.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002818/0.2194, allocations: 4.008 MB / 470.1 MB, free: 28.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.2194, allocations: 14.94 kB / 470.1 MB, free: 28.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.2196, allocations: 204 kB / 470.3 MB, free: 28.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004947/0.2245, allocations: 7.286 MB / 477.6 MB, free: 26.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.2246, allocations: 9.219 kB / 477.6 MB, free: 26.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/0.2272, allocations: 2.029 MB / 479.6 MB, free: 26.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.898e-05/0.2272, allocations: 54.17 kB / 479.7 MB, free: 26.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.567e-05/0.2273, allocations: 88.23 kB / 479.7 MB, free: 26.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.2289, allocations: 1.786 MB / 481.5 MB, free: 25.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2289, allocations: 0 / 481.5 MB, free: 25.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2289, allocations: 0 / 481.5 MB, free: 25.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.2289, allocations: 0 / 481.5 MB, free: 25.72 MB / 410.7 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.001337/0.2303, allocations: 0.8665 MB / 482.4 MB, free: 25.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.2303, allocations: 9.188 kB / 482.4 MB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.2304, allocations: 66.2 kB / 482.5 MB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003215/0.2307, allocations: 82.08 kB / 482.6 MB, free: 25.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.231, allocations: 187.6 kB / 482.7 MB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.231, allocations: 20.53 kB / 482.8 MB, free: 24.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.231, allocations: 28.33 kB / 482.8 MB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006858/0.2317, allocations: 0.5296 MB / 483.3 MB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2317, allocations: 1.469 kB / 483.3 MB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.2317, allocations: 15.19 kB / 483.3 MB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.2317, allocations: 12.31 kB / 483.3 MB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00083/0.2326, allocations: 0.6797 MB / 484 MB, free: 24.46 MB / 410.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.00392/0.2365, allocations: 2.862 MB / 486.9 MB, free: 23.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.2369, allocations: 151.5 kB / 487 MB, free: 23.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.978e-05/0.2369, allocations: 57.42 kB / 487.1 MB, free: 23.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01412/0.251, allocations: 7.686 MB / 494.8 MB, free: 21.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004451/0.2515, allocations: 320.8 kB / 495.1 MB, free: 21.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.2515, allocations: 0 / 495.1 MB, free: 21.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009446/0.2524, allocations: 436.2 kB / 495.5 MB, free: 21.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.532e-05/0.2525, allocations: 480.8 kB / 496 MB, free: 20.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.2527, allocations: 201.7 kB / 496.2 MB, free: 20.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.2527, allocations: 30.95 kB / 496.2 MB, free: 20.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.2528, allocations: 190.5 kB / 496.4 MB, free: 20.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.2528, allocations: 104.4 kB / 496.5 MB, free: 20.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.977e-05/0.2529, allocations: 92.66 kB / 496.6 MB, free: 20.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.497e-05/0.253, allocations: 333.9 kB / 496.9 MB, free: 19.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.652e-05/0.2531, allocations: 63.95 kB / 497 MB, free: 19.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.2533, allocations: 313.6 kB / 497.3 MB, free: 19.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.2536, allocations: 425.9 kB / 497.7 MB, free: 19.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2536, allocations: 2.125 kB / 497.7 MB, free: 19.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005763/0.2542, allocations: 405.3 kB / 498.1 MB, free: 18.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.2542, allocations: 8.672 kB / 498.1 MB, free: 18.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.2542, allocations: 9.031 kB / 498.1 MB, free: 18.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.2542, allocations: 11.91 kB / 498.1 MB, free: 18.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.2544, allocations: 104.8 kB / 498.2 MB, free: 18.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.2545, allocations: 21.64 kB / 498.2 MB, free: 18.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.2546, allocations: 44.52 kB / 498.3 MB, free: 18.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.2547, allocations: 30.33 kB / 498.3 MB, free: 18.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * 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 prepare postOptimizeDAE: time 9.123e-05/0.2547, allocations: 170.7 kB / 498.5 MB, free: 18.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.2548, allocations: 28.48 kB / 498.5 MB, free: 18.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008044/0.2556, allocations: 0.833 MB / 499.3 MB, free: 18.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.2556, allocations: 5.75 kB / 499.4 MB, free: 18.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2556, allocations: 1.5 kB / 499.4 MB, free: 18.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.2556, allocations: 4.312 kB / 499.4 MB, free: 18.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008436/0.2565, allocations: 0.8963 MB / 0.4885 GB, free: 17.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.2565, allocations: 3.375 kB / 0.4885 GB, free: 17.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.283e-05/0.2566, allocations: 37.03 kB / 0.4886 GB, free: 17.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.2566, allocations: 7.25 kB / 0.4886 GB, free: 17.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2566, allocations: 9.109 kB / 0.4886 GB, free: 17.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-06/0.2566, allocations: 8.234 kB / 0.4886 GB, free: 17.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.2566, allocations: 10.59 kB / 0.4886 GB, free: 17.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.2569, allocations: 366.8 kB / 0.489 GB, free: 17.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.2569, allocations: 31.53 kB / 0.489 GB, free: 17.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.2569, allocations: 42.39 kB / 0.489 GB, free: 17.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.2571, allocations: 16.95 kB / 0.489 GB, free: 17.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.2571, allocations: 22.16 kB / 0.4891 GB, free: 17.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.2571, allocations: 10.69 kB / 0.4891 GB, free: 17.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002542/0.2574, allocations: 293.2 kB / 0.4894 GB, free: 17.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2574, allocations: 0.9062 kB / 0.4894 GB, free: 17.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001146/0.2585, allocations: 427.4 kB / 0.4898 GB, free: 16.98 MB / 410.7 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001498/0.26, allocations: 1.491 MB / 0.4912 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003317/0.2603, allocations: 225.5 kB / 0.4914 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2603, allocations: 1.344 kB / 0.4914 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.2604, allocations: 76.3 kB / 0.4915 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.2609, allocations: 114.2 kB / 0.4916 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.003/1.264, allocations: 0.582 GB / 1.074 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/1.264, allocations: 202.7 kB / 1.074 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003289/1.264, allocations: 164 kB / 1.074 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/1.264, allocations: 150.6 kB / 1.074 GB, free: 146 MB / 0.5261 GB Notification: Performance of SimCode: time 1.462e-06/1.264, allocations: 0 / 1.074 GB, free: 146 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/1.297, allocations: 19.57 MB / 1.093 GB, free: 136 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/8.533, allocations: 4.469 kB / 1.093 GB, free: 136 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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: 11.80370061751455]