Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001332/0.001332, allocations: 183.1 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008678/0.0008677, allocations: 92.55 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4015/0.4015, allocations: 43.46 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.695e-05/3.705e-05, allocations: 0 / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1555, allocations: 58.83 MB / 484.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4623/0.6179, allocations: 86.37 MB / 0.5572 GB, free: 17.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.6181, allocations: 66.31 kB / 0.5573 GB, free: 17.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01721/0.6354, allocations: 6.097 MB / 0.5632 GB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6354, allocations: 3.938 kB / 0.5632 GB, free: 14.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.6355, allocations: 0 / 0.5632 GB, free: 14.09 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005304/0.636, allocations: 415.7 kB / 0.5636 GB, free: 13.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.6361, allocations: 12.03 kB / 0.5637 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.6361, allocations: 32.11 kB / 0.5637 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.6361, allocations: 3.438 kB / 0.5637 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.6362, allocations: 161.4 kB / 0.5638 GB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.6363, allocations: 7.938 kB / 0.5638 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.6363, allocations: 7.938 kB / 0.5639 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.37e-05/0.6364, allocations: 26.97 kB / 0.5639 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.6364, allocations: 0 / 0.5639 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.6364, allocations: 5.375 kB / 0.5639 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6364, allocations: 0 / 0.5639 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.319e-05/0.6365, allocations: 3.984 kB / 0.5639 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.6366, allocations: 151.9 kB / 0.564 GB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.198e-05/0.6367, allocations: 22.61 kB / 0.5641 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.542e-05/0.6367, allocations: 8.797 kB / 0.5641 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.6367, allocations: 4.062 kB / 0.5641 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.6368, allocations: 57.77 kB / 0.5641 GB, free: 13.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.6368, allocations: 0 / 0.5641 GB, free: 13.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001663/0.6369, allocations: 64.22 kB / 0.5642 GB, free: 12.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.637, allocations: 77.11 kB / 0.5643 GB, free: 12.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.475e-05/0.6371, allocations: 95.88 kB / 0.5644 GB, free: 12.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.6371, allocations: 25.7 kB / 0.5644 GB, free: 12.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.986e-05/0.6371, allocations: 84.02 kB / 0.5645 GB, free: 12.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.6371, allocations: 0 / 0.5645 GB, free: 12.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-06/0.6371, allocations: 1.688 kB / 0.5645 GB, free: 12.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.927e-05/0.6372, allocations: 316.1 kB / 0.5648 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.6372, allocations: 4 kB / 0.5648 GB, free: 12.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.6372, allocations: 3.938 kB / 0.5648 GB, free: 12.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.073e-05/0.6373, allocations: 35.02 kB / 0.5648 GB, free: 12.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6373, allocations: 0 / 0.5648 GB, free: 12.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.416e-05/0.6373, allocations: 61.31 kB / 0.5649 GB, free: 12.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.6374, allocations: 34.36 kB / 0.5649 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6374, allocations: 0 / 0.5649 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.6374, allocations: 0 / 0.5649 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.6374, allocations: 0 / 0.5649 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.6374, allocations: 0 / 0.5649 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.6374, allocations: 8 kB / 0.5649 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.6375, allocations: 5.578 kB / 0.5649 GB, free: 12.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/0.6375, allocations: 130.6 kB / 0.565 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.6375, allocations: 7.906 kB / 0.565 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.6e-05/0.6376, allocations: 4.859 kB / 0.565 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.6376, allocations: 3.938 kB / 0.565 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.6376, allocations: 1.969 kB / 0.565 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6376, allocations: 0 / 0.565 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.595e-05/0.6377, allocations: 153 kB / 0.5652 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.6377, allocations: 0 / 0.5652 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-06/0.6377, allocations: 0 / 0.5652 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.6377, allocations: 7.938 kB / 0.5652 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.6377, allocations: 3.562 kB / 0.5652 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6377, allocations: 0 / 0.5652 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.6377, allocations: 0 / 0.5652 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.618e-05/0.6378, allocations: 89.41 kB / 0.5653 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.6378, allocations: 86.66 kB / 0.5654 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.6379, allocations: 0 / 0.5654 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.127e-05/0.6379, allocations: 4.031 kB / 0.5654 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.6379, allocations: 1.406 kB / 0.5654 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.6379, allocations: 4 kB / 0.5654 GB, free: 11.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.352e-05/0.638, allocations: 75.28 kB / 0.5655 GB, free: 11.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.638, allocations: 0 / 0.5655 GB, free: 11.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004346/0.6384, allocations: 76.25 kB / 0.5655 GB, free: 11.47 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008704/0.6393, allocations: 0.8724 MB / 0.5664 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.443e-05/0.6394, allocations: 64.98 kB / 0.5664 GB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6394, allocations: 4.062 kB / 0.5664 GB, free: 10.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.368e-05/0.6394, allocations: 55.41 kB / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.723e-05/0.6395, allocations: 0 / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.6399, allocations: 123.5 kB / 0.5666 GB, free: 10.37 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.64, allocations: 0.6795 MB / 0.5673 GB, free: 9.668 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.686e-06/0.64, allocations: 0 / 0.5673 GB, free: 9.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.6401, allocations: 8.75 kB / 0.5673 GB, free: 9.66 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6401, allocations: 0 / 0.5673 GB, free: 9.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.6579, allocations: 2.295 MB / 0.5695 GB, free: 7.457 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.6581, allocations: 170.5 kB / 0.5697 GB, free: 7.238 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.238, allocations: 0 / 0.5697 GB, free: 7.238 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat does not exist to compare? outputFormat=mat