Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.001279/0.001279, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 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.001445/0.001445, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 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 1.415/1.415, allocations: 230.5 MB / 257.4 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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.2266/0.2266, allocations: 46.92 MB / 360.8 MB, free: 4.16 MB / 286.1 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.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002511/0.002511, allocations: 83.86 kB / 0.4962 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3464, allocations: 66.09 MB / 0.5608 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008677/0.355, allocations: 5.373 MB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003803/0.3588, allocations: 2.659 MB / 0.5686 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.359, allocations: 0 / 0.5686 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.3593, allocations: 43.69 kB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003479/0.3627, allocations: 1.144 MB / 0.5698 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.3631, allocations: 146.9 kB / 0.5699 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005907/0.3637, allocations: 322.3 kB / 0.5702 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.494e-05/0.3638, allocations: 13.73 kB / 0.5702 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/0.3652, allocations: 0.7536 MB / 0.571 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003515/0.3655, allocations: 151.5 kB / 0.5711 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.3656, allocations: 8 kB / 0.5711 GB, free: 9.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/0.3683, allocations: 1.384 MB / 0.5725 GB, free: 8.242 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.3684, allocations: 31.84 kB / 0.5725 GB, free: 8.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.3685, allocations: 83.64 kB / 0.5726 GB, free: 8.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.3699, allocations: 0.5298 MB / 0.5731 GB, free: 7.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3699, allocations: 0 / 0.5731 GB, free: 7.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.48e-06/0.3699, allocations: 3.984 kB / 0.5731 GB, free: 7.594 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.3699, allocations: 0 / 0.5731 GB, free: 7.594 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001117/0.371, allocations: 0.5006 MB / 0.5736 GB, free: 7.062 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3711, allocations: 8.031 kB / 0.5736 GB, free: 7.055 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.279e-05/0.3711, allocations: 54.73 kB / 0.5736 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005345/0.3717, allocations: 52.8 kB / 0.5737 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.372, allocations: 150.3 kB / 0.5738 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.372, allocations: 16.12 kB / 0.5739 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.372, allocations: 16 kB / 0.5739 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.3725, allocations: 244.7 kB / 0.5741 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3725, allocations: 4 kB / 0.5741 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.3725, allocations: 8 kB / 0.5741 GB, free: 6.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.3725, allocations: 8 kB / 0.5741 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.3729, allocations: 240.5 kB / 0.5744 GB, free: 6.211 MB / 414.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.001379/0.3743, allocations: 1.111 MB / 0.5754 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.3745, allocations: 86.48 kB / 0.5755 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.16e-05/0.3746, allocations: 40.84 kB / 0.5756 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009462/0.3755, allocations: 468.4 kB / 0.576 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/0.3758, allocations: 167 kB / 0.5762 GB, free: 4.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.754e-06/0.3758, allocations: 0 / 0.5762 GB, free: 4.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001001/0.3768, allocations: 369.1 kB / 0.5765 GB, free: 3.836 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/0.377, allocations: 269 kB / 0.5768 GB, free: 3.512 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.3771, allocations: 149.2 kB / 0.5769 GB, free: 3.359 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.3772, allocations: 29.7 kB / 0.5769 GB, free: 3.324 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.3773, allocations: 152.2 kB / 0.5771 GB, free: 3.172 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.3773, allocations: 68.08 kB / 0.5772 GB, free: 3.105 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-05/0.3774, allocations: 65.64 kB / 0.5772 GB, free: 3.035 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3776, allocations: 330.9 kB / 0.5775 GB, free: 2.703 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.222e-05/0.3777, allocations: 39.97 kB / 0.5776 GB, free: 2.664 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.3779, allocations: 195.3 kB / 0.5778 GB, free: 2.406 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.3783, allocations: 256.6 kB / 0.578 GB, free: 2.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3783, allocations: 3.984 kB / 0.578 GB, free: 2.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004785/0.3787, allocations: 261.5 kB / 0.5783 GB, free: 1.824 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3788, allocations: 8 kB / 0.5783 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.3788, allocations: 4 kB / 0.5783 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.3788, allocations: 8 kB / 0.5783 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.3793, allocations: 99.8 kB / 0.5784 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004246/0.3797, allocations: 0.5901 MB / 0.5789 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.3799, allocations: 23.98 kB / 0.579 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.3799, allocations: 23.92 kB / 0.579 GB, free: 1.047 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.3801, allocations: 133.7 kB / 0.5791 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.3801, allocations: 23.91 kB / 0.5791 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004967/0.3806, allocations: 235.8 kB / 0.5794 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3806, allocations: 4 kB / 0.5794 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.3807, allocations: 3.938 kB / 0.5794 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3807, allocations: 0 / 0.5794 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.3812, allocations: 330.9 kB / 0.5797 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3812, allocations: 0 / 0.5797 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/0.3815, allocations: 59.89 kB / 0.5797 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3815, allocations: 3.938 kB / 0.5797 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.3815, allocations: 8.094 kB / 0.5798 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000381/0.3819, allocations: 0.5821 MB / 0.5803 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3819, allocations: 0 / 0.5803 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.3822, allocations: 150.7 kB / 0.5805 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.3822, allocations: 19.94 kB / 0.5805 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.3823, allocations: 15.81 kB / 0.5805 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.3824, allocations: 8 kB / 0.5805 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.3824, allocations: 7.984 kB / 0.5805 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.3824, allocations: 4 kB / 0.5805 GB, free: 15.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.3826, allocations: 131.2 kB / 0.5806 GB, free: 15.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3826, allocations: 0 / 0.5806 GB, free: 15.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005845/0.3832, allocations: 143.8 kB / 0.5808 GB, free: 15.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009485/0.3841, allocations: 0.8285 MB / 0.5816 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005562/0.3847, allocations: 148.3 kB / 0.5817 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3847, allocations: 0 / 0.5817 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.3849, allocations: 51.89 kB / 0.5818 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.3853, allocations: 52.77 kB / 0.5818 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/0.389, allocations: 2.536 MB / 0.5843 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3894, allocations: 0.7168 MB / 0.585 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002667/0.3896, allocations: 73.83 kB / 0.5851 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3897, allocations: 59.34 kB / 0.5851 GB, free: 10.33 MB / 430.1 MB Notification: Performance of SimCode: time 1.223e-06/0.3897, allocations: 4 kB / 0.5851 GB, free: 10.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03866/0.4284, allocations: 6.716 MB / 0.5917 GB, free: 3.727 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.16, allocations: 3.938 kB / 0.5917 GB, free: 3.723 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.IncompleteMedia.Essotherm650_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.104219029890373]