Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",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.0009986/0.0009982, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009137/0.0009135, allocations: 94.22 kB / 261.8 MB, free: 1.68 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.2199/0.2199, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.707e-05/1.71e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.123, allocations: 58.85 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4286/0.5516, allocations: 83.99 MB / 0.548 GB, free: 9.094 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/0.5519, allocations: 63.59 kB / 0.5481 GB, free: 9.094 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003429/0.5553, allocations: 1.657 MB / 0.5497 GB, free: 8.734 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5553, allocations: 0 / 0.5497 GB, free: 8.734 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.5554, allocations: 6.375 kB / 0.5497 GB, free: 8.734 MB / 362.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.0002085/0.5556, allocations: 358.2 kB / 0.5501 GB, free: 8.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.5556, allocations: 7.719 kB / 0.5501 GB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.5556, allocations: 3.5 kB / 0.5501 GB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.283e-05/0.5557, allocations: 166.8 kB / 0.5502 GB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.5557, allocations: 3.938 kB / 0.5502 GB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-06/0.5557, allocations: 4 kB / 0.5502 GB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.728e-05/0.5558, allocations: 0 / 0.5502 GB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.302e-05/0.5558, allocations: 32.84 kB / 0.5503 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.5558, allocations: 0 / 0.5503 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.5559, allocations: 0 / 0.5503 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.5559, allocations: 0 / 0.5503 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.513e-05/0.5559, allocations: 126.2 kB / 0.5504 GB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.972e-05/0.556, allocations: 22.48 kB / 0.5504 GB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.029e-05/0.556, allocations: 8.859 kB / 0.5504 GB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-06/0.556, allocations: 0 / 0.5504 GB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.556, allocations: 59.83 kB / 0.5505 GB, free: 7.844 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.5561, allocations: 0 / 0.5505 GB, free: 7.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001368/0.5562, allocations: 36.23 kB / 0.5505 GB, free: 7.812 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.5562, allocations: 77.11 kB / 0.5506 GB, free: 7.719 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.701e-05/0.5562, allocations: 85 kB / 0.5507 GB, free: 7.629 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.5563, allocations: 29.73 kB / 0.5507 GB, free: 7.594 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.035e-05/0.5563, allocations: 80.14 kB / 0.5508 GB, free: 7.512 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.5563, allocations: 3.875 kB / 0.5508 GB, free: 7.512 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.5563, allocations: 0 / 0.5508 GB, free: 7.512 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.5564, allocations: 317.6 kB / 0.5511 GB, free: 7.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-06/0.5564, allocations: 3.234 kB / 0.5511 GB, free: 7.199 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.5564, allocations: 3.938 kB / 0.5511 GB, free: 7.195 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/0.5564, allocations: 3.938 kB / 0.5511 GB, free: 7.195 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5564, allocations: 0 / 0.5511 GB, free: 7.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.966e-05/0.5565, allocations: 37.59 kB / 0.5511 GB, free: 7.156 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.5565, allocations: 33.42 kB / 0.5512 GB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.5565, allocations: 3.281 kB / 0.5512 GB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.5565, allocations: 0 / 0.5512 GB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.5565, allocations: 0 / 0.5512 GB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5565, allocations: 0.875 kB / 0.5512 GB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.5566, allocations: 0 / 0.5512 GB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.5566, allocations: 7.891 kB / 0.5512 GB, free: 7.121 MB / 362.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 4.692e-05/0.5566, allocations: 130.2 kB / 0.5513 GB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.682e-05/0.5567, allocations: 48.39 kB / 0.5513 GB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-06/0.5567, allocations: 3.812 kB / 0.5513 GB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.041e-05/0.5567, allocations: 3.75 kB / 0.5513 GB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.5567, allocations: 0 / 0.5513 GB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5567, allocations: 4 kB / 0.5513 GB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.5567, allocations: 0 / 0.5513 GB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.225e-05/0.5568, allocations: 125.5 kB / 0.5515 GB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5568, allocations: 3.625 kB / 0.5515 GB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.5568, allocations: 3.938 kB / 0.5515 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.5568, allocations: 7.938 kB / 0.5515 GB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.5568, allocations: 4.031 kB / 0.5515 GB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.5568, allocations: 0 / 0.5515 GB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5568, allocations: 0 / 0.5515 GB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.221e-05/0.5569, allocations: 63.17 kB / 0.5515 GB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.5569, allocations: 77.11 kB / 0.5516 GB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.5569, allocations: 3.953 kB / 0.5516 GB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-06/0.5569, allocations: 0 / 0.5516 GB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.557, allocations: 8 kB / 0.5516 GB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.557, allocations: 3.828 kB / 0.5516 GB, free: 6.598 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.422e-05/0.557, allocations: 78.28 kB / 0.5517 GB, free: 6.523 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.557, allocations: 0 / 0.5517 GB, free: 6.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.5572, allocations: 33.91 kB / 0.5517 GB, free: 6.512 MB / 362.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.0005692/0.5578, allocations: 0.7558 MB / 0.5525 GB, free: 5.789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.237e-05/0.5579, allocations: 63.34 kB / 0.5525 GB, free: 5.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5579, allocations: 0 / 0.5525 GB, free: 5.715 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.615e-05/0.5579, allocations: 55.41 kB / 0.5526 GB, free: 5.648 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.324e-05/0.558, allocations: 6.344 kB / 0.5526 GB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002102/0.5582, allocations: 84.95 kB / 0.5527 GB, free: 5.531 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.5583, allocations: 0.6797 MB / 0.5533 GB, free: 4.828 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.19e-06/0.5583, allocations: 0 / 0.5533 GB, free: 4.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.02e-05/0.5583, allocations: 7.438 kB / 0.5534 GB, free: 4.82 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5583, allocations: 0 / 0.5534 GB, free: 4.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.5776, allocations: 1.087 MB / 0.5544 GB, free: 3.766 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.5779, allocations: 154 kB / 0.5546 GB, free: 3.574 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.386/1.964, allocations: 0 / 0.5546 GB, free: 3.574 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat