Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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: 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_3.2.3_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_3.2.3_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, 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.641/1.641, allocations: 205.3 MB / 213.7 MB, free: 1.746 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.0008942/0.0008942, allocations: 86.62 kB / 261.7 MB, free: 1.684 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.2334/0.2334, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.352e-05/1.355e-05, allocations: 0 / 418.2 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1364, allocations: 58.85 MB / 477.1 MB, free: 1.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4465/0.583, allocations: 86.75 MB / 0.5506 GB, free: 8.188 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.5833, allocations: 65.75 kB / 0.5507 GB, free: 8.156 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01189/0.5952, allocations: 4.759 MB / 0.5553 GB, free: 4.379 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.5952, allocations: 0 / 0.5553 GB, free: 4.379 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.5952, allocations: 8 kB / 0.5554 GB, free: 4.371 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006099/0.5959, allocations: 0.5114 MB / 0.5559 GB, free: 3.828 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5959, allocations: 8.031 kB / 0.5559 GB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/0.596, allocations: 31.62 kB / 0.5559 GB, free: 3.789 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.5963, allocations: 261 kB / 0.5561 GB, free: 3.512 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.5963, allocations: 8 kB / 0.5561 GB, free: 3.504 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.5964, allocations: 12 kB / 0.5562 GB, free: 3.492 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002444/0.5966, allocations: 127.2 kB / 0.5563 GB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.597, allocations: 218.8 kB / 0.5565 GB, free: 3.211 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.597, allocations: 11.89 kB / 0.5565 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.597, allocations: 0 / 0.5565 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.597, allocations: 8 kB / 0.5565 GB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.5983, allocations: 1.253 MB / 0.5577 GB, free: 1.988 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.5986, allocations: 215.7 kB / 0.5579 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.559e-05/0.5987, allocations: 68.44 kB / 0.558 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.5987, allocations: 15.81 kB / 0.558 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.5987, allocations: 38.44 kB / 0.5581 GB, free: 1.668 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.413e-06/0.5988, allocations: 0.75 kB / 0.5581 GB, free: 1.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001534/0.6003, allocations: 1.34 MB / 0.5594 GB, free: 216 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.6003, allocations: 132.5 kB / 0.5595 GB, free: 52 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.6005, allocations: 183.5 kB / 0.5597 GB, free: 15.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.6006, allocations: 29.7 kB / 0.5597 GB, free: 15.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.6007, allocations: 179.6 kB / 0.5599 GB, free: 15.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.596e-05/0.6008, allocations: 108 kB / 0.56 GB, free: 15.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.6008, allocations: 0 / 0.56 GB, free: 15.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6009, allocations: 343.9 kB / 0.5603 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.6011, allocations: 58.88 kB / 0.5603 GB, free: 15.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.6013, allocations: 198.4 kB / 0.5605 GB, free: 15.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.6014, allocations: 92.33 kB / 0.5606 GB, free: 14.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6014, allocations: 4 kB / 0.5606 GB, free: 14.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004406/0.6019, allocations: 299.3 kB / 0.5609 GB, free: 14.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.6019, allocations: 8.75 kB / 0.5609 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.6019, allocations: 4 kB / 0.5609 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.602, allocations: 8.375 kB / 0.5609 GB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.6024, allocations: 107.3 kB / 0.561 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.6024, allocations: 16 kB / 0.5611 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.6026, allocations: 19.98 kB / 0.5611 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.6027, allocations: 23.11 kB / 0.5611 GB, free: 14.54 MB / 378.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 () * 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.0001265/0.6028, allocations: 123.8 kB / 0.5612 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.6029, allocations: 35.56 kB / 0.5612 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.972e-05/0.603, allocations: 37.56 kB / 0.5613 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.603, allocations: 4.125 kB / 0.5613 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.603, allocations: 8 kB / 0.5613 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.603, allocations: 0 / 0.5613 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.6042, allocations: 0.8549 MB / 0.5621 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.6042, allocations: 4 kB / 0.5621 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.6046, allocations: 87.94 kB / 0.5622 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.6046, allocations: 4 kB / 0.5622 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.6046, allocations: 2.875 kB / 0.5622 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.6046, allocations: 7.938 kB / 0.5622 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/0.6047, allocations: 11.94 kB / 0.5622 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006527/0.6053, allocations: 0.6772 MB / 0.5629 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.6054, allocations: 104.8 kB / 0.563 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.6055, allocations: 3.562 kB / 0.563 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.6057, allocations: 19.98 kB / 0.563 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.6058, allocations: 27.61 kB / 0.5631 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.6058, allocations: 11.98 kB / 0.5631 GB, free: 12.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.606, allocations: 147.1 kB / 0.5632 GB, free: 12.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.606, allocations: 0 / 0.5632 GB, free: 12.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004745/0.6064, allocations: 55.98 kB / 0.5633 GB, free: 12.44 MB / 378.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 () * 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.0001397/0.6066, allocations: 99.19 kB / 0.5634 GB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003444/0.6069, allocations: 189.1 kB / 0.5635 GB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.607, allocations: 4.812 kB / 0.5635 GB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.6071, allocations: 95.05 kB / 0.5636 GB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.6076, allocations: 33.45 kB / 0.5637 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.6087, allocations: 0.7137 MB / 0.5644 GB, free: 11.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.6092, allocations: 0.78 MB / 0.5651 GB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.6093, allocations: 35.27 kB / 0.5652 GB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.6094, allocations: 23.44 kB / 0.5652 GB, free: 10.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6094, allocations: 0 / 0.5652 GB, free: 10.52 MB / 378.7 MB Notification: Performance of Templates: time 0.005027/0.6144, allocations: 1.996 MB / 0.5671 GB, free: 8.551 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches