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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001611/0.001611, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002061/0.002061, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 71.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3518, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003783/0.3556, allocations: 2.634 MB / 0.5342 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.357, allocations: 0.7288 MB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.3571, allocations: 5.5 kB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.3573, allocations: 42.28 kB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.3575, allocations: 84.81 kB / 0.535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.3578, allocations: 102.9 kB / 0.5351 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.3582, allocations: 341.2 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.3584, allocations: 83.06 kB / 0.5355 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.3586, allocations: 129.9 kB / 0.5357 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.3588, allocations: 132 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.3589, allocations: 22.84 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.099e-05/0.359, allocations: 31.19 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.359, allocations: 60.27 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.3592, allocations: 146.1 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.3595, allocations: 305.2 kB / 0.5363 GB, free: 9.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3595, allocations: 3.984 kB / 0.5363 GB, free: 9.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.3596, allocations: 4 kB / 0.5363 GB, free: 9.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.3596, allocations: 5.031 kB / 0.5363 GB, free: 9.953 MB / 398.1 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.000934/0.3605, allocations: 0.5834 MB / 0.5369 GB, free: 9.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3606, allocations: 9.125 kB / 0.5369 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/0.3608, allocations: 56.06 kB / 0.537 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.3612, allocations: 280.6 kB / 0.5372 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.3612, allocations: 19.78 kB / 0.5373 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/0.3613, allocations: 25.12 kB / 0.5373 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.3618, allocations: 277.4 kB / 0.5375 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.3618, allocations: 17.25 kB / 0.5376 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.3619, allocations: 10.75 kB / 0.5376 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.3619, allocations: 6.094 kB / 0.5376 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.3623, allocations: 180.4 kB / 0.5378 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.3639, allocations: 1.31 MB / 0.539 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004256/0.3644, allocations: 246.3 kB / 0.5393 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.3646, allocations: 100.9 kB / 0.5394 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.3647, allocations: 7.188 kB / 0.5394 GB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.3647, allocations: 44.81 kB / 0.5394 GB, free: 7.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.3647, allocations: 0 / 0.5394 GB, free: 7.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002548/0.3673, allocations: 1.566 MB / 0.5409 GB, free: 5.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.3673, allocations: 137 kB / 0.5411 GB, free: 5.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.3676, allocations: 228.8 kB / 0.5413 GB, free: 5.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.3676, allocations: 31.08 kB / 0.5413 GB, free: 5.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.3677, allocations: 179 kB / 0.5415 GB, free: 5.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.406e-05/0.3678, allocations: 115.7 kB / 0.5416 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.741e-05/0.3679, allocations: 75.94 kB / 0.5417 GB, free: 5.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.368, allocations: 336.1 kB / 0.542 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.3683, allocations: 101.6 kB / 0.5421 GB, free: 4.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.3687, allocations: 240.4 kB / 0.5423 GB, free: 4.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000705/0.3694, allocations: 371.3 kB / 0.5427 GB, free: 4.312 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3694, allocations: 1.375 kB / 0.5427 GB, free: 4.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008654/0.3703, allocations: 396.6 kB / 0.5431 GB, free: 4.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.3703, allocations: 8.094 kB / 0.5431 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.3704, allocations: 8.375 kB / 0.5431 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.3704, allocations: 6.531 kB / 0.5431 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.3708, allocations: 98.02 kB / 0.5432 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/0.3709, allocations: 11.97 kB / 0.5432 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.3711, allocations: 29.14 kB / 0.5432 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.3711, allocations: 17.59 kB / 0.5432 GB, free: 4.059 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001792/0.3713, allocations: 148.8 kB / 0.5434 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.3714, allocations: 42.11 kB / 0.5434 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.53e-05/0.3715, allocations: 31.53 kB / 0.5434 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.3716, allocations: 4.562 kB / 0.5434 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.3716, allocations: 5 kB / 0.5434 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.3716, allocations: 5.109 kB / 0.5435 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.3732, allocations: 0.9717 MB / 0.5444 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3732, allocations: 2.031 kB / 0.5444 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003717/0.3736, allocations: 82.09 kB / 0.5445 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.3736, allocations: 3.375 kB / 0.5445 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.3736, allocations: 15.81 kB / 0.5445 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.3736, allocations: 6.438 kB / 0.5445 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3736, allocations: 5.156 kB / 0.5445 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009835/0.3746, allocations: 0.7229 MB / 0.5452 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.3747, allocations: 108.7 kB / 0.5453 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.3747, allocations: 15.55 kB / 0.5453 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.375, allocations: 21.39 kB / 0.5454 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.3751, allocations: 31.69 kB / 0.5454 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.3751, allocations: 7.25 kB / 0.5454 GB, free: 2.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.3753, allocations: 163.1 kB / 0.5455 GB, free: 2.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.004e-06/0.3753, allocations: 0 / 0.5455 GB, free: 2.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005101/0.3758, allocations: 68.22 kB / 0.5456 GB, free: 2.164 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001178/0.3759, allocations: 101.3 kB / 0.5457 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006534/0.3766, allocations: 277.1 kB / 0.546 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3766, allocations: 2.219 kB / 0.546 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.3769, allocations: 141.3 kB / 0.5461 GB, free: 1.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/0.3776, allocations: 49.81 kB / 0.5462 GB, free: 1.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.379, allocations: 0.8859 MB / 0.547 GB, free: 1.152 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.3794, allocations: 0.772 MB / 0.5478 GB, free: 360 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.385e-05/0.3795, allocations: 27.44 kB / 0.5478 GB, free: 332 kB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3795, allocations: 0 / 0.5478 GB, free: 332 kB / 398.1 MB Notification: Performance of Templates: time 0.005526/0.385, allocations: 3.391 MB / 0.5511 GB, free: 12.94 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches