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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2045/0.2045, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 79.86 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3214, allocations: 62.43 MB / 0.5305 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.007026/0.3284, allocations: 5.307 MB / 0.5357 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.3314, allocations: 2.649 MB / 0.5383 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.615e-05/0.3315, allocations: 1.125 kB / 0.5383 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.3317, allocations: 35.17 kB / 0.5383 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002862/0.3346, allocations: 1.107 MB / 0.5394 GB, free: 6.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.335, allocations: 146.9 kB / 0.5396 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004507/0.3354, allocations: 306 kB / 0.5399 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.3355, allocations: 16.67 kB / 0.5399 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.3366, allocations: 0.7428 MB / 0.5406 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.3369, allocations: 152.8 kB / 0.5407 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.3369, allocations: 10.73 kB / 0.5408 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.3391, allocations: 1.326 MB / 0.542 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.292e-05/0.3392, allocations: 36.23 kB / 0.5421 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.3394, allocations: 85.41 kB / 0.5422 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.3404, allocations: 0.5338 MB / 0.5427 GB, free: 4.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3404, allocations: 0 / 0.5427 GB, free: 4.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3405, allocations: 0 / 0.5427 GB, free: 4.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3405, allocations: 4 kB / 0.5427 GB, free: 4.594 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.0009643/0.3414, allocations: 0.5639 MB / 0.5432 GB, free: 4.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3415, allocations: 10.16 kB / 0.5432 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.71e-05/0.3415, allocations: 52.36 kB / 0.5433 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004434/0.342, allocations: 46.84 kB / 0.5433 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.3423, allocations: 209.8 kB / 0.5435 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3423, allocations: 18.72 kB / 0.5436 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.3424, allocations: 18.72 kB / 0.5436 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/0.3428, allocations: 236 kB / 0.5438 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3428, allocations: 0 / 0.5438 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.3428, allocations: 11.56 kB / 0.5438 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3429, allocations: 3.562 kB / 0.5438 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003563/0.3432, allocations: 237.1 kB / 0.544 GB, free: 3.457 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.001365/0.3446, allocations: 1.362 MB / 0.5454 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.3448, allocations: 97.27 kB / 0.5455 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/0.3449, allocations: 41.81 kB / 0.5455 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/0.3466, allocations: 2.047 MB / 0.5475 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/0.3469, allocations: 175.2 kB / 0.5477 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.3469, allocations: 0 / 0.5477 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009683/0.3479, allocations: 344.2 kB / 0.548 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.348, allocations: 277 kB / 0.5483 GB, free: 14.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3482, allocations: 153.7 kB / 0.5484 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3482, allocations: 25.7 kB / 0.5484 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.3483, allocations: 143.8 kB / 0.5486 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.56e-05/0.3483, allocations: 71.11 kB / 0.5486 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/0.3484, allocations: 69.55 kB / 0.5487 GB, free: 14.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3485, allocations: 322.8 kB / 0.549 GB, free: 14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.801e-05/0.3486, allocations: 47.97 kB / 0.5491 GB, free: 13.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.3488, allocations: 199.3 kB / 0.5492 GB, free: 13.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.3491, allocations: 250.6 kB / 0.5495 GB, free: 13.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3491, allocations: 4 kB / 0.5495 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003926/0.3495, allocations: 257.5 kB / 0.5497 GB, free: 13.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3495, allocations: 14.31 kB / 0.5498 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.3495, allocations: 4 kB / 0.5498 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.3496, allocations: 8 kB / 0.5498 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.35, allocations: 95.88 kB / 0.5499 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000346/0.3504, allocations: 0.5977 MB / 0.5504 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.3505, allocations: 8 kB / 0.5504 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.3506, allocations: 19.98 kB / 0.5505 GB, free: 12.36 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.0001268/0.3507, allocations: 145.8 kB / 0.5506 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.3508, allocations: 19.81 kB / 0.5506 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004328/0.3512, allocations: 227.8 kB / 0.5508 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3512, allocations: 0 / 0.5508 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3512, allocations: 8 kB / 0.5508 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3512, allocations: 4 kB / 0.5509 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.3518, allocations: 444.7 kB / 0.5513 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.3518, allocations: 7.938 kB / 0.5513 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.3521, allocations: 51.95 kB / 0.5513 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.3521, allocations: 3.938 kB / 0.5513 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.3521, allocations: 8 kB / 0.5513 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000308/0.3525, allocations: 0.586 MB / 0.5519 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3525, allocations: 0 / 0.5519 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.3527, allocations: 150.5 kB / 0.5521 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.555e-05/0.3528, allocations: 97 kB / 0.5522 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.3528, allocations: 4.188 kB / 0.5522 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.353, allocations: 15.92 kB / 0.5522 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.353, allocations: 4 kB / 0.5522 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.353, allocations: 11.98 kB / 0.5522 GB, free: 10.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.3531, allocations: 119.2 kB / 0.5523 GB, free: 10.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3532, allocations: 0 / 0.5523 GB, free: 10.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005973/0.3538, allocations: 147.9 kB / 0.5524 GB, free: 10.15 MB / 414.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.001055/0.3548, allocations: 0.8401 MB / 0.5533 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005382/0.3554, allocations: 160.3 kB / 0.5534 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3554, allocations: 0 / 0.5534 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.3556, allocations: 51.91 kB / 0.5535 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.356, allocations: 56.89 kB / 0.5535 GB, free: 9.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.3591, allocations: 2.528 MB / 0.556 GB, free: 6.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3594, allocations: 0.7128 MB / 0.5567 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002461/0.3597, allocations: 73.7 kB / 0.5568 GB, free: 5.461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.3598, allocations: 55.42 kB / 0.5568 GB, free: 5.406 MB / 414.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3598, allocations: 0 / 0.5568 GB, free: 5.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.3851, allocations: 6.646 MB / 0.5633 GB, free: 14.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.77, allocations: 11.83 kB / 0.5633 GB, free: 14.95 MB / 430.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches