Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 109.5 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 188.8 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2072/0.2072, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 71.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3432, allocations: 60.82 MB / 0.5185 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.00811/0.3513, allocations: 5.236 MB / 0.5236 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003464/0.3548, allocations: 2.656 MB / 0.5262 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.355, allocations: 1.719 kB / 0.5262 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.3553, allocations: 43.94 kB / 0.5262 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.3587, allocations: 1.05 MB / 0.5272 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.3591, allocations: 147.8 kB / 0.5274 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005149/0.3596, allocations: 301.3 kB / 0.5277 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.3596, allocations: 8.438 kB / 0.5277 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.3608, allocations: 0.6587 MB / 0.5283 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.3611, allocations: 148.5 kB / 0.5285 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.3611, allocations: 10.38 kB / 0.5285 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.3633, allocations: 1.179 MB / 0.5296 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.3634, allocations: 33.09 kB / 0.5296 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.3636, allocations: 80.67 kB / 0.5297 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.3648, allocations: 0.5228 MB / 0.5302 GB, free: 11.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3648, allocations: 0 / 0.5302 GB, free: 11.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3648, allocations: 5.5 kB / 0.5302 GB, free: 11.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3648, allocations: 0 / 0.5302 GB, free: 11.9 MB / 398.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.001033/0.3659, allocations: 0.5636 MB / 0.5308 GB, free: 11.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3659, allocations: 9.469 kB / 0.5308 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.124e-05/0.366, allocations: 52.42 kB / 0.5308 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005055/0.3665, allocations: 46.27 kB / 0.5309 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.3668, allocations: 214 kB / 0.5311 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3668, allocations: 15.03 kB / 0.5311 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.3669, allocations: 19.34 kB / 0.5311 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.3673, allocations: 246.9 kB / 0.5314 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3673, allocations: 5.156 kB / 0.5314 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.3673, allocations: 6.469 kB / 0.5314 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.3673, allocations: 4.875 kB / 0.5314 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003737/0.3677, allocations: 235.2 kB / 0.5316 GB, free: 10.75 MB / 398.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.001326/0.3691, allocations: 1.363 MB / 0.5329 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.3693, allocations: 82.33 kB / 0.533 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.861e-05/0.3694, allocations: 45.75 kB / 0.5331 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/0.3709, allocations: 2.047 MB / 0.5351 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.3711, allocations: 166.5 kB / 0.5352 GB, free: 6.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 2.225e-06/0.3711, allocations: 0 / 0.5352 GB, free: 6.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009138/0.3721, allocations: 355.9 kB / 0.5356 GB, free: 6.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.3722, allocations: 271.2 kB / 0.5358 GB, free: 6.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3723, allocations: 154.9 kB / 0.536 GB, free: 6.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.3723, allocations: 33.42 kB / 0.536 GB, free: 6.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.3724, allocations: 141.7 kB / 0.5361 GB, free: 5.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.3725, allocations: 67.62 kB / 0.5362 GB, free: 5.855 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.537e-05/0.3726, allocations: 66.72 kB / 0.5363 GB, free: 5.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.3727, allocations: 321.7 kB / 0.5366 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.3728, allocations: 52.3 kB / 0.5366 GB, free: 5.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.3729, allocations: 184.1 kB / 0.5368 GB, free: 5.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.3732, allocations: 259.8 kB / 0.537 GB, free: 4.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3732, allocations: 5.531 kB / 0.537 GB, free: 4.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004392/0.3737, allocations: 254.5 kB / 0.5373 GB, free: 4.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3737, allocations: 6.969 kB / 0.5373 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.3737, allocations: 4.375 kB / 0.5373 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3738, allocations: 6.812 kB / 0.5373 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.3742, allocations: 104.1 kB / 0.5374 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003277/0.3746, allocations: 0.6034 MB / 0.538 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.3747, allocations: 14.78 kB / 0.538 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.3748, allocations: 23.41 kB / 0.538 GB, free: 4.203 MB / 398.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.0001249/0.3749, allocations: 140.7 kB / 0.5382 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.375, allocations: 17.5 kB / 0.5382 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/0.3754, allocations: 221.2 kB / 0.5384 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.3755, allocations: 10.3 kB / 0.5384 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3755, allocations: 5.031 kB / 0.5384 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.3755, allocations: 1.125 kB / 0.5384 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.3759, allocations: 443.4 kB / 0.5388 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3759, allocations: 4.906 kB / 0.5388 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.3763, allocations: 53.64 kB / 0.5389 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3763, allocations: 5.094 kB / 0.5389 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.3763, allocations: 6.625 kB / 0.5389 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002636/0.3766, allocations: 0.5856 MB / 0.5395 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3766, allocations: 1.156 kB / 0.5395 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.3768, allocations: 145.8 kB / 0.5396 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.258e-05/0.3769, allocations: 99.06 kB / 0.5397 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.377, allocations: 11.42 kB / 0.5397 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.3771, allocations: 2.562 kB / 0.5397 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.3771, allocations: 12.39 kB / 0.5397 GB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.3772, allocations: 10.88 kB / 0.5397 GB, free: 2.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.3773, allocations: 125.1 kB / 0.5399 GB, free: 2.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3773, allocations: 0 / 0.5399 GB, free: 2.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005425/0.3778, allocations: 141.6 kB / 0.54 GB, free: 2.387 MB / 398.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.000921/0.3788, allocations: 0.8413 MB / 0.5408 GB, free: 1.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005006/0.3793, allocations: 158.9 kB / 0.541 GB, free: 1.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3793, allocations: 0 / 0.541 GB, free: 1.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.3795, allocations: 48.59 kB / 0.541 GB, free: 1.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.3799, allocations: 55.31 kB / 0.5411 GB, free: 1.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/0.3829, allocations: 2.5 MB / 0.5435 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.3832, allocations: 0.7164 MB / 0.5442 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002558/0.3834, allocations: 80.14 kB / 0.5443 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.3835, allocations: 51.89 kB / 0.5443 GB, free: 14.59 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3835, allocations: 0 / 0.5443 GB, free: 14.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.4132, allocations: 6.557 MB / 0.5507 GB, free: 9.973 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.72, allocations: 18.31 kB / 0.5507 GB, free: 9.961 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches