Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.001286/0.001286, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.002146/0.002146, allocations: 212 kB / 23.74 MB, free: 4.688 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.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 8 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.2607/0.2607, allocations: 46.94 MB / 360.9 MB, free: 4.258 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.Glycol47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.91 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3425, allocations: 66.03 MB / 0.5607 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.008934/0.3514, allocations: 5.365 MB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.355, allocations: 2.662 MB / 0.5685 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.3551, allocations: 8 kB / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.3555, allocations: 43.73 kB / 0.5686 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003576/0.359, allocations: 1.101 MB / 0.5696 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.3594, allocations: 155.5 kB / 0.5698 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006064/0.36, allocations: 314.4 kB / 0.5701 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.624e-05/0.3601, allocations: 13.75 kB / 0.5701 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.3615, allocations: 0.6644 MB / 0.5708 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.3618, allocations: 163.5 kB / 0.5709 GB, free: 9.949 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.3619, allocations: 4 kB / 0.5709 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.3643, allocations: 1.261 MB / 0.5721 GB, free: 8.684 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.3644, allocations: 35.83 kB / 0.5722 GB, free: 8.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.3645, allocations: 91.58 kB / 0.5723 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.3656, allocations: 0.522 MB / 0.5728 GB, free: 8.035 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.3656, allocations: 4 kB / 0.5728 GB, free: 8.031 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3656, allocations: 0 / 0.5728 GB, free: 8.031 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.3656, allocations: 0 / 0.5728 GB, free: 8.031 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.001058/0.3666, allocations: 0.5007 MB / 0.5733 GB, free: 7.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3667, allocations: 11.97 kB / 0.5733 GB, free: 7.488 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.206e-05/0.3668, allocations: 54.73 kB / 0.5733 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004638/0.3672, allocations: 44.81 kB / 0.5734 GB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.3675, allocations: 158.3 kB / 0.5735 GB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.3676, allocations: 20.12 kB / 0.5735 GB, free: 7.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.3676, allocations: 12 kB / 0.5736 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.3681, allocations: 244.7 kB / 0.5738 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3681, allocations: 0 / 0.5738 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.3681, allocations: 11.98 kB / 0.5738 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.3681, allocations: 8 kB / 0.5738 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.3685, allocations: 240.5 kB / 0.574 GB, free: 6.645 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.001463/0.3699, allocations: 1.126 MB / 0.5751 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.3702, allocations: 78.61 kB / 0.5752 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.809e-05/0.3702, allocations: 32.84 kB / 0.5752 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008717/0.3711, allocations: 468.4 kB / 0.5757 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/0.3714, allocations: 165.6 kB / 0.5758 GB, free: 4.641 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.3714, allocations: 4 kB / 0.5759 GB, free: 4.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009555/0.3723, allocations: 364.7 kB / 0.5762 GB, free: 4.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000172/0.3725, allocations: 270 kB / 0.5765 GB, free: 3.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.3727, allocations: 151.8 kB / 0.5766 GB, free: 3.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.3727, allocations: 33.7 kB / 0.5766 GB, free: 3.754 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.3728, allocations: 160.1 kB / 0.5768 GB, free: 3.594 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.3729, allocations: 63.44 kB / 0.5768 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.762e-05/0.3729, allocations: 65.64 kB / 0.5769 GB, free: 3.461 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3731, allocations: 326.8 kB / 0.5772 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.3732, allocations: 39.97 kB / 0.5773 GB, free: 3.094 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.3734, allocations: 187.5 kB / 0.5774 GB, free: 2.844 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.3737, allocations: 258.6 kB / 0.5777 GB, free: 2.523 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3737, allocations: 0 / 0.5777 GB, free: 2.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004553/0.3742, allocations: 260.9 kB / 0.5779 GB, free: 2.266 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3742, allocations: 8 kB / 0.5779 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3742, allocations: 4 kB / 0.5779 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.3742, allocations: 8.656 kB / 0.578 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.3747, allocations: 103.8 kB / 0.5781 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004344/0.3751, allocations: 0.5937 MB / 0.5786 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.3753, allocations: 15.95 kB / 0.5786 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.3753, allocations: 20 kB / 0.5787 GB, free: 1.492 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.0001394/0.3755, allocations: 133.7 kB / 0.5788 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.3755, allocations: 28 kB / 0.5788 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005149/0.376, allocations: 227.9 kB / 0.579 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.376, allocations: 4 kB / 0.579 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3761, allocations: 3.938 kB / 0.579 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3761, allocations: 192 / 0.579 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/0.3765, allocations: 342.9 kB / 0.5794 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3765, allocations: 7.938 kB / 0.5794 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.3769, allocations: 55.89 kB / 0.5794 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3769, allocations: 3.938 kB / 0.5794 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3769, allocations: 4 kB / 0.5794 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003639/0.3772, allocations: 0.5782 MB / 0.58 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3772, allocations: 0 / 0.58 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.3775, allocations: 158.7 kB / 0.5802 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.3776, allocations: 19.94 kB / 0.5802 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.3776, allocations: 3.953 kB / 0.5802 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.3777, allocations: 11.98 kB / 0.5802 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.3778, allocations: 7.984 kB / 0.5802 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.3778, allocations: 12 kB / 0.5802 GB, free: 15.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.3779, allocations: 131.8 kB / 0.5803 GB, free: 15.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3779, allocations: 0 / 0.5803 GB, free: 15.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005242/0.3784, allocations: 143.6 kB / 0.5805 GB, free: 15.5 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.0009232/0.3793, allocations: 0.8246 MB / 0.5813 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004977/0.3798, allocations: 143.7 kB / 0.5814 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3798, allocations: 1.312 kB / 0.5814 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.38, allocations: 55.84 kB / 0.5815 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.3804, allocations: 60.19 kB / 0.5815 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.3839, allocations: 2.529 MB / 0.584 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.3843, allocations: 0.7206 MB / 0.5847 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002427/0.3845, allocations: 77.7 kB / 0.5848 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.3846, allocations: 59.41 kB / 0.5848 GB, free: 10.76 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3846, allocations: 0 / 0.5848 GB, free: 10.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.4211, allocations: 6.722 MB / 0.5914 GB, free: 4.188 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.93, allocations: 3.984 kB / 0.5914 GB, free: 4.184 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.886234883219004]