Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 199.7 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.319/1.319, allocations: 227.2 MB / 245 MB, free: 7.66 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 109.1 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.3105/0.3105, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003103, allocations: 8 kB / 468.4 MB, free: 7.762 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3486, allocations: 63.24 MB / 0.5192 GB, free: 43.73 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.4681, allocations: 89.84 MB / 0.6069 GB, free: 15.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.4684, allocations: 66 kB / 0.607 GB, free: 15.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01453/0.4829, allocations: 5.023 MB / 0.6119 GB, free: 10.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.483, allocations: 448 / 0.6119 GB, free: 10.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.483, allocations: 4 kB / 0.6119 GB, free: 10.75 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008819/0.4839, allocations: 0.561 MB / 0.6124 GB, free: 10.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.484, allocations: 8.031 kB / 0.6124 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.4842, allocations: 55.61 kB / 0.6125 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.4846, allocations: 256.6 kB / 0.6127 GB, free: 9.785 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.4846, allocations: 20.56 kB / 0.6127 GB, free: 9.766 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/0.4847, allocations: 31.91 kB / 0.6128 GB, free: 9.734 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.4852, allocations: 281.9 kB / 0.613 GB, free: 9.434 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.4852, allocations: 7.984 kB / 0.6131 GB, free: 9.426 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.4852, allocations: 12 kB / 0.6131 GB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.4852, allocations: 4 kB / 0.6131 GB, free: 9.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.4857, allocations: 201.5 kB / 0.6133 GB, free: 9.215 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.4872, allocations: 1.302 MB / 0.6145 GB, free: 7.809 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.4877, allocations: 258.5 kB / 0.6148 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.4877, allocations: 8 kB / 0.6148 GB, free: 7.512 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.4877, allocations: 34.72 kB / 0.6148 GB, free: 7.469 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.4877, allocations: 0 / 0.6148 GB, free: 7.469 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.002583/0.4903, allocations: 1.626 MB / 0.6164 GB, free: 5.633 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.4904, allocations: 136.5 kB / 0.6165 GB, free: 5.469 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.4906, allocations: 200.1 kB / 0.6167 GB, free: 5.266 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.4906, allocations: 29.7 kB / 0.6168 GB, free: 5.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.4908, allocations: 180.3 kB / 0.6169 GB, free: 5.051 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.091e-05/0.4908, allocations: 114.3 kB / 0.617 GB, free: 4.938 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.4909, allocations: 8 kB / 0.617 GB, free: 4.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.491, allocations: 342.8 kB / 0.6174 GB, free: 4.586 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.4912, allocations: 108.8 kB / 0.6175 GB, free: 4.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.4916, allocations: 250.6 kB / 0.6177 GB, free: 4.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.4919, allocations: 141.4 kB / 0.6178 GB, free: 4.043 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4919, allocations: 0 / 0.6178 GB, free: 4.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007608/0.4927, allocations: 424.7 kB / 0.6183 GB, free: 3.621 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4927, allocations: 8 kB / 0.6183 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4927, allocations: 4 kB / 0.6183 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.4927, allocations: 12.36 kB / 0.6183 GB, free: 3.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.4931, allocations: 107.9 kB / 0.6184 GB, free: 3.492 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.4931, allocations: 11.94 kB / 0.6184 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.4934, allocations: 35.89 kB / 0.6184 GB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.4934, allocations: 12 kB / 0.6184 GB, free: 3.434 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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.0001434/0.4936, allocations: 165.7 kB / 0.6186 GB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.353e-05/0.4937, allocations: 23.72 kB / 0.6186 GB, free: 3.238 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.47e-05/0.4937, allocations: 33.66 kB / 0.6186 GB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4937, allocations: 7.984 kB / 0.6187 GB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4938, allocations: 0 / 0.6187 GB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.4938, allocations: 0 / 0.6187 GB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.4952, allocations: 1.009 MB / 0.6196 GB, free: 2.121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4952, allocations: 0 / 0.6196 GB, free: 2.121 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.4956, allocations: 91.81 kB / 0.6197 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.4956, allocations: 4 kB / 0.6197 GB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.4956, allocations: 11.95 kB / 0.6197 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.4956, allocations: 4 kB / 0.6197 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4956, allocations: 3.938 kB / 0.6198 GB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.4967, allocations: 0.8204 MB / 0.6206 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.086e-05/0.4968, allocations: 104.8 kB / 0.6207 GB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.4968, allocations: 8.062 kB / 0.6207 GB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.4971, allocations: 23.98 kB / 0.6207 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.4972, allocations: 31.86 kB / 0.6207 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.4972, allocations: 16.27 kB / 0.6207 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000122/0.4973, allocations: 152.5 kB / 0.6209 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4973, allocations: 4 kB / 0.6209 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004462/0.4978, allocations: 67.94 kB / 0.6209 GB, free: 0.7148 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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.0001365/0.4979, allocations: 120.2 kB / 0.6211 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006111/0.4985, allocations: 288.3 kB / 0.6213 GB, free: 312 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4986, allocations: 8.062 kB / 0.6213 GB, free: 304 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.4988, allocations: 143.7 kB / 0.6215 GB, free: 160 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.4993, allocations: 34.12 kB / 0.6215 GB, free: 128 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.5007, allocations: 1.074 MB / 0.6226 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.5011, allocations: 0.7761 MB / 0.6233 GB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.5013, allocations: 38.95 kB / 0.6234 GB, free: 14.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.5013, allocations: 27.42 kB / 0.6234 GB, free: 14.14 MB / 442.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5013, allocations: 0 / 0.6234 GB, free: 14.14 MB / 442.7 MB Notification: Performance of Templates: time 0.00541/0.5068, allocations: 2.106 MB / 0.6254 GB, free: 12.05 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches