Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.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.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions",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.001496/0.001496, allocations: 182.8 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.933/1.933, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009598/0.0009601, allocations: 93.5 kB / 267.1 MB, free: 9.273 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.5329/0.5329, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.359e-05/4.373e-05, allocations: 4 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.206, allocations: 58.84 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6664/0.8725, allocations: 85.47 MB / 0.5564 GB, free: 17.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.8729, allocations: 62.27 kB / 0.5564 GB, free: 17.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01687/0.8897, allocations: 6.35 MB / 0.5626 GB, free: 14.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.8898, allocations: 0 / 0.5626 GB, free: 14.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.8898, allocations: 4 kB / 0.5626 GB, free: 14.26 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.0003082/0.8901, allocations: 373.8 kB / 0.563 GB, free: 13.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.8902, allocations: 8.031 kB / 0.563 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.8902, allocations: 34.56 kB / 0.563 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.8903, allocations: 4.688 kB / 0.563 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.879e-05/0.8903, allocations: 160.8 kB / 0.5632 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.8904, allocations: 3.938 kB / 0.5632 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.8904, allocations: 0 / 0.5632 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.354e-05/0.8905, allocations: 42.97 kB / 0.5632 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.8905, allocations: 0 / 0.5632 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.8905, allocations: 0 / 0.5632 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.8905, allocations: 1.375 kB / 0.5632 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.086e-05/0.8906, allocations: 0 / 0.5632 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.8907, allocations: 151.9 kB / 0.5634 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.861e-05/0.8907, allocations: 18.52 kB / 0.5634 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.8907, allocations: 14.55 kB / 0.5634 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.8908, allocations: 3.625 kB / 0.5634 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.8908, allocations: 56.27 kB / 0.5635 GB, free: 13.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.8908, allocations: 0 / 0.5635 GB, free: 13.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001549/0.891, allocations: 60.91 kB / 0.5635 GB, free: 13.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.891, allocations: 78.56 kB / 0.5636 GB, free: 13.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.52e-05/0.891, allocations: 85 kB / 0.5637 GB, free: 13 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.8911, allocations: 25.7 kB / 0.5637 GB, free: 12.97 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.537e-05/0.8911, allocations: 84.17 kB / 0.5638 GB, free: 12.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.8911, allocations: 4.344 kB / 0.5638 GB, free: 12.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.8911, allocations: 0 / 0.5638 GB, free: 12.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.8912, allocations: 316.3 kB / 0.5641 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.8912, allocations: 0 / 0.5641 GB, free: 12.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-06/0.8912, allocations: 3.938 kB / 0.5641 GB, free: 12.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.8912, allocations: 29.7 kB / 0.5641 GB, free: 12.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8912, allocations: 3.953 kB / 0.5641 GB, free: 12.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.25e-05/0.8913, allocations: 61.06 kB / 0.5642 GB, free: 12.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.8913, allocations: 35.3 kB / 0.5642 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8914, allocations: 1.062 kB / 0.5642 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.8914, allocations: 2.812 kB / 0.5642 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.8914, allocations: 0 / 0.5642 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.8914, allocations: 0 / 0.5642 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.145e-05/0.8914, allocations: 3.938 kB / 0.5642 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.8914, allocations: 5.219 kB / 0.5642 GB, free: 12.41 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.235e-05/0.8915, allocations: 131.5 kB / 0.5643 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-06/0.8915, allocations: 9.297 kB / 0.5644 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.345e-05/0.8915, allocations: 3.125 kB / 0.5644 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.8915, allocations: 4 kB / 0.5644 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.8915, allocations: 0 / 0.5644 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.8915, allocations: 1 kB / 0.5644 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.048e-05/0.8916, allocations: 144.9 kB / 0.5645 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8916, allocations: 0 / 0.5645 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-06/0.8916, allocations: 7.891 kB / 0.5645 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.8916, allocations: 0 / 0.5645 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.8916, allocations: 4 kB / 0.5645 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8917, allocations: 7.938 kB / 0.5645 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.8917, allocations: 1.734 kB / 0.5645 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.38e-05/0.8917, allocations: 88.28 kB / 0.5646 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.8918, allocations: 78.42 kB / 0.5647 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.8918, allocations: 3.953 kB / 0.5647 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-06/0.8918, allocations: 0 / 0.5647 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.8918, allocations: 0 / 0.5647 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.8918, allocations: 5.672 kB / 0.5647 GB, free: 11.85 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.516e-05/0.8919, allocations: 79.28 kB / 0.5648 GB, free: 11.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8919, allocations: 0 / 0.5648 GB, free: 11.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002234/0.8921, allocations: 7.688 kB / 0.5648 GB, free: 11.77 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.000398/0.8925, allocations: 0.6503 MB / 0.5654 GB, free: 11.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.287e-05/0.8926, allocations: 55.41 kB / 0.5655 GB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8926, allocations: 1.5 kB / 0.5655 GB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.056e-05/0.8926, allocations: 57 kB / 0.5655 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.283e-05/0.8927, allocations: 9.266 kB / 0.5655 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.8929, allocations: 80.05 kB / 0.5656 GB, free: 10.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.8931, allocations: 0.6761 MB / 0.5663 GB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.48e-06/0.8931, allocations: 4.125 kB / 0.5663 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.109e-05/0.8931, allocations: 7.438 kB / 0.5663 GB, free: 10.14 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.8931, allocations: 0 / 0.5663 GB, free: 10.14 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/0.9049, allocations: 0.8312 MB / 0.5671 GB, free: 9.621 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.9051, allocations: 186.8 kB / 0.5673 GB, free: 9.391 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/2.354, allocations: 4 kB / 0.5673 GB, free: 9.387 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat