Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009944/0.0009945, allocations: 103.7 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3802/0.3802, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003016, allocations: 8 kB / 468.4 MB, free: 7.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4126, allocations: 63.23 MB / 0.5192 GB, free: 43.64 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.5375, allocations: 87.61 MB / 0.6047 GB, free: 2.047 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.5378, allocations: 63.97 kB / 0.6048 GB, free: 1.984 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.022/0.5598, allocations: 7.929 MB / 0.6125 GB, free: 10.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5599, allocations: 0.5625 kB / 0.6125 GB, free: 10.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.5599, allocations: 1.281 kB / 0.6125 GB, free: 10.07 MB / 426.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.0004463/0.5604, allocations: 414.2 kB / 0.6129 GB, free: 9.609 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.5604, allocations: 12.75 kB / 0.6129 GB, free: 9.598 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.5605, allocations: 3.906 kB / 0.6129 GB, free: 9.594 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.5606, allocations: 165.8 kB / 0.6131 GB, free: 9.395 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.5606, allocations: 4 kB / 0.6131 GB, free: 9.391 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.5606, allocations: 0 / 0.6131 GB, free: 9.391 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.904e-05/0.5607, allocations: 29.69 kB / 0.6131 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.5607, allocations: 0 / 0.6131 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.5608, allocations: 4 kB / 0.6131 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-06/0.5608, allocations: 0 / 0.6131 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.5608, allocations: 2.719 kB / 0.6131 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.5609, allocations: 149.6 kB / 0.6133 GB, free: 9.156 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.304e-05/0.561, allocations: 22.55 kB / 0.6133 GB, free: 9.125 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.561, allocations: 3.984 kB / 0.6133 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.405e-05/0.5611, allocations: 60.27 kB / 0.6134 GB, free: 9.047 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.5611, allocations: 0 / 0.6134 GB, free: 9.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001835/0.5613, allocations: 59.47 kB / 0.6134 GB, free: 8.977 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.5614, allocations: 81.11 kB / 0.6135 GB, free: 8.879 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.5614, allocations: 85 kB / 0.6136 GB, free: 8.789 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.5614, allocations: 33.64 kB / 0.6136 GB, free: 8.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.5615, allocations: 80.14 kB / 0.6137 GB, free: 8.668 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.5615, allocations: 3.984 kB / 0.6137 GB, free: 8.664 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.5615, allocations: 4.125 kB / 0.6137 GB, free: 8.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5617, allocations: 310.8 kB / 0.614 GB, free: 8.348 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.5617, allocations: 0 / 0.614 GB, free: 8.348 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-06/0.5617, allocations: 4 kB / 0.614 GB, free: 8.344 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.988e-05/0.5617, allocations: 25.7 kB / 0.614 GB, free: 8.312 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5617, allocations: 0 / 0.614 GB, free: 8.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.931e-05/0.5618, allocations: 67.36 kB / 0.6141 GB, free: 8.234 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.5618, allocations: 35.72 kB / 0.6141 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5619, allocations: 8.016 kB / 0.6141 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5619, allocations: 4 kB / 0.6141 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.5619, allocations: 0 / 0.6141 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.5619, allocations: 4 kB / 0.6141 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.268e-05/0.5619, allocations: 0 / 0.6141 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.5619, allocations: 0 / 0.6141 GB, free: 8.18 MB / 426.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 () * Number of clocked 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 0.0001059/0.562, allocations: 139.5 kB / 0.6143 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.5621, allocations: 3.953 kB / 0.6143 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.373e-05/0.5621, allocations: 6.719 kB / 0.6143 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.5621, allocations: 7.938 kB / 0.6143 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5621, allocations: 3.984 kB / 0.6143 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5621, allocations: 0 / 0.6143 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.5622, allocations: 145.7 kB / 0.6144 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5622, allocations: 0 / 0.6144 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-06/0.5623, allocations: 4 kB / 0.6144 GB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.5623, allocations: 7.938 kB / 0.6144 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.5623, allocations: 0 / 0.6144 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5623, allocations: 0 / 0.6144 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5623, allocations: 0 / 0.6144 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.5624, allocations: 98.81 kB / 0.6145 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.5625, allocations: 81.11 kB / 0.6146 GB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.5625, allocations: 3.953 kB / 0.6146 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.048e-05/0.5625, allocations: 4 kB / 0.6146 GB, free: 7.582 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.5625, allocations: 3.984 kB / 0.6146 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.5625, allocations: 0 / 0.6146 GB, free: 7.578 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.155e-05/0.5626, allocations: 79.22 kB / 0.6147 GB, free: 7.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5626, allocations: 0 / 0.6147 GB, free: 7.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00019/0.5628, allocations: 12.03 kB / 0.6147 GB, free: 7.488 MB / 426.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) * Number of clocked states: 0 () * 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.0002926/0.5631, allocations: 104.5 kB / 0.6148 GB, free: 7.387 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.746e-05/0.5632, allocations: 63.39 kB / 0.6149 GB, free: 7.312 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5632, allocations: 0 / 0.6149 GB, free: 7.312 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.5632, allocations: 51.41 kB / 0.6149 GB, free: 7.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.426e-05/0.5633, allocations: 8.125 kB / 0.6149 GB, free: 7.242 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001998/0.5635, allocations: 81.14 kB / 0.615 GB, free: 7.137 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.5638, allocations: 0.677 MB / 0.6157 GB, free: 6.434 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.384e-06/0.5638, allocations: 4 kB / 0.6157 GB, free: 6.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-06/0.5638, allocations: 7.438 kB / 0.6157 GB, free: 6.426 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5638, allocations: 0 / 0.6157 GB, free: 6.426 MB / 426.7 MB Notification: Performance of Templates: time 0.002351/0.5662, allocations: 295 kB / 0.616 GB, free: 6.141 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestScalarFunctions/TestScalarFunctions.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches