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.001909/0.001909, allocations: 180.9 kB / 8.006 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.77/1.77, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0009026/0.0009026, allocations: 78.66 kB / 261.7 MB, free: 1.691 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.289/0.289, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.792e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1456, allocations: 58.85 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5407/0.6863, allocations: 84.8 MB / 0.5488 GB, free: 8.672 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.6866, allocations: 69.36 kB / 0.5489 GB, free: 8.672 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01583/0.7025, allocations: 6.319 MB / 0.5551 GB, free: 4.426 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7025, allocations: 0 / 0.5551 GB, free: 4.426 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.7026, allocations: 8 kB / 0.5551 GB, free: 4.418 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.000247/0.7028, allocations: 371.8 kB / 0.5554 GB, free: 4.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.7029, allocations: 12.02 kB / 0.5554 GB, free: 4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.7029, allocations: 7.938 kB / 0.5554 GB, free: 3.992 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.99e-05/0.703, allocations: 163 kB / 0.5556 GB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.703, allocations: 0 / 0.5556 GB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.703, allocations: 0 / 0.5556 GB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.217e-05/0.7031, allocations: 0 / 0.5556 GB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.112e-05/0.7031, allocations: 33.64 kB / 0.5556 GB, free: 3.754 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.7031, allocations: 4 kB / 0.5556 GB, free: 3.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-06/0.7031, allocations: 0 / 0.5556 GB, free: 3.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.7032, allocations: 0 / 0.5556 GB, free: 3.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.344e-05/0.7032, allocations: 133.5 kB / 0.5558 GB, free: 3.586 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.055e-05/0.7033, allocations: 18.61 kB / 0.5558 GB, free: 3.559 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.191e-05/0.7033, allocations: 4.859 kB / 0.5558 GB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.7033, allocations: 0.8438 kB / 0.5558 GB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.7033, allocations: 60.27 kB / 0.5558 GB, free: 3.477 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.7034, allocations: 0 / 0.5558 GB, free: 3.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.000166/0.7035, allocations: 37.7 kB / 0.5559 GB, free: 3.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.7036, allocations: 84.97 kB / 0.556 GB, free: 3.336 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.251e-05/0.7036, allocations: 85 kB / 0.556 GB, free: 3.246 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.7036, allocations: 25.7 kB / 0.5561 GB, free: 3.215 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.624e-05/0.7036, allocations: 80.14 kB / 0.5561 GB, free: 3.133 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.7036, allocations: 0 / 0.5561 GB, free: 3.133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/0.7037, allocations: 7.938 kB / 0.5562 GB, free: 3.125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.937e-05/0.7037, allocations: 314.9 kB / 0.5565 GB, free: 2.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-06/0.7037, allocations: 0 / 0.5565 GB, free: 2.809 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-06/0.7037, allocations: 0 / 0.5565 GB, free: 2.809 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.825e-05/0.7038, allocations: 4 kB / 0.5565 GB, free: 2.805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7038, allocations: 0 / 0.5565 GB, free: 2.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.29e-05/0.7038, allocations: 37.64 kB / 0.5565 GB, free: 2.762 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.7039, allocations: 37.08 kB / 0.5565 GB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7039, allocations: 0 / 0.5565 GB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.7039, allocations: 4.094 kB / 0.5565 GB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.733e-06/0.7039, allocations: 3.938 kB / 0.5565 GB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.7039, allocations: 0 / 0.5565 GB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.7039, allocations: 4 kB / 0.5565 GB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.7039, allocations: 0 / 0.5565 GB, free: 2.711 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 5.824e-05/0.704, allocations: 130.7 kB / 0.5567 GB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.284e-05/0.7041, allocations: 45.58 kB / 0.5567 GB, free: 2.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-06/0.7041, allocations: 0 / 0.5567 GB, free: 2.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.345e-05/0.7041, allocations: 7.75 kB / 0.5567 GB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.7041, allocations: 4.031 kB / 0.5567 GB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7041, allocations: 0 / 0.5567 GB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.7041, allocations: 0 / 0.5567 GB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.863e-05/0.7042, allocations: 130.2 kB / 0.5568 GB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.7042, allocations: 0 / 0.5568 GB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.7042, allocations: 0 / 0.5568 GB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.7042, allocations: 3.953 kB / 0.5568 GB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.7042, allocations: 4 kB / 0.5568 GB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7042, allocations: 0.7031 kB / 0.5569 GB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7042, allocations: 0 / 0.5569 GB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.883e-05/0.7043, allocations: 65.06 kB / 0.5569 GB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.7043, allocations: 81.11 kB / 0.557 GB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.7043, allocations: 3.953 kB / 0.557 GB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-06/0.7043, allocations: 0 / 0.557 GB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.7044, allocations: 3.688 kB / 0.557 GB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.7044, allocations: 0 / 0.557 GB, free: 2.156 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.564e-05/0.7044, allocations: 75.28 kB / 0.5571 GB, free: 2.082 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7044, allocations: 0 / 0.5571 GB, free: 2.082 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000174/0.7046, allocations: 12.03 kB / 0.5571 GB, free: 2.07 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.0003714/0.7049, allocations: 0.6108 MB / 0.5577 GB, free: 1.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.352e-05/0.705, allocations: 63.38 kB / 0.5577 GB, free: 1.363 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.705, allocations: 0 / 0.5577 GB, free: 1.363 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.792e-05/0.7051, allocations: 59.28 kB / 0.5578 GB, free: 1.297 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.726e-05/0.7051, allocations: 7.938 kB / 0.5578 GB, free: 1.289 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/0.7054, allocations: 77.72 kB / 0.5579 GB, free: 1.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.7055, allocations: 0.6806 MB / 0.5585 GB, free: 480 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.169e-06/0.7055, allocations: 0 / 0.5585 GB, free: 480 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.088e-05/0.7055, allocations: 7.438 kB / 0.5585 GB, free: 472 kB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7055, allocations: 0 / 0.5585 GB, free: 472 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.7267, allocations: 0.5503 MB / 0.5591 GB, free: 15.92 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/0.727, allocations: 160.4 kB / 0.5592 GB, free: 15.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.305, allocations: 0 / 0.5592 GB, free: 15.73 MB / 378.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