Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 180.5 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.3 MB / 213.7 MB, free: 1.727 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.0009393/0.0009393, allocations: 90.2 kB / 261.7 MB, free: 1.68 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.2496/0.2496, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.779e-05/1.782e-05, allocations: 0 / 418.2 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1212, allocations: 58.86 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4636/0.5848, allocations: 86.22 MB / 0.5501 GB, free: 8.629 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.5851, allocations: 67.19 kB / 0.5502 GB, free: 8.598 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01452/0.5996, allocations: 6.214 MB / 0.5563 GB, free: 3.684 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.5997, allocations: 0 / 0.5563 GB, free: 3.684 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.5997, allocations: 7.938 kB / 0.5563 GB, free: 3.676 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0007775/0.6005, allocations: 0.5793 MB / 0.5568 GB, free: 3.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.6006, allocations: 8.031 kB / 0.5568 GB, free: 3.066 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.168e-05/0.6007, allocations: 47.44 kB / 0.5569 GB, free: 3.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.601, allocations: 266 kB / 0.5571 GB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.601, allocations: 23.92 kB / 0.5572 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.6011, allocations: 27.78 kB / 0.5572 GB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003226/0.6014, allocations: 186.8 kB / 0.5574 GB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.6018, allocations: 303 kB / 0.5577 GB, free: 2.344 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.6019, allocations: 4 kB / 0.5577 GB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.6019, allocations: 7.953 kB / 0.5577 GB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.6019, allocations: 8 kB / 0.5577 GB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.6031, allocations: 1.009 MB / 0.5587 GB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.6035, allocations: 319.4 kB / 0.559 GB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.6037, allocations: 146.4 kB / 0.5591 GB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.442e-05/0.6037, allocations: 4 kB / 0.5591 GB, free: 1.098 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.6038, allocations: 42.38 kB / 0.5591 GB, free: 1.051 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.543e-06/0.6038, allocations: 0 / 0.5591 GB, free: 1.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.00277/0.6065, allocations: 2.124 MB / 0.5612 GB, free: 14.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.6066, allocations: 106.8 kB / 0.5613 GB, free: 14.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.6069, allocations: 157.4 kB / 0.5615 GB, free: 14.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.6069, allocations: 25.7 kB / 0.5615 GB, free: 14.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.607, allocations: 191.5 kB / 0.5617 GB, free: 14.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.6072, allocations: 191.6 kB / 0.5619 GB, free: 14.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.6072, allocations: 0 / 0.5619 GB, free: 14.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6074, allocations: 346.5 kB / 0.5622 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.6076, allocations: 103.6 kB / 0.5623 GB, free: 13.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.6078, allocations: 201.7 kB / 0.5625 GB, free: 13.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.6081, allocations: 130.8 kB / 0.5626 GB, free: 13.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.6081, allocations: 4 kB / 0.5626 GB, free: 13.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000795/0.6089, allocations: 469.2 kB / 0.5631 GB, free: 13.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.6089, allocations: 11.94 kB / 0.5631 GB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.6089, allocations: 4 kB / 0.5631 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/0.6093, allocations: 119.4 kB / 0.5632 GB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.6097, allocations: 102.6 kB / 0.5633 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003919/0.6137, allocations: 4.48 MB / 0.5677 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.614, allocations: 16.05 kB / 0.5677 GB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.6141, allocations: 19.56 kB / 0.5677 GB, free: 8.562 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.6142, allocations: 114.1 kB / 0.5678 GB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.6144, allocations: 31.62 kB / 0.5678 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.233e-05/0.6145, allocations: 38.7 kB / 0.5679 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.6145, allocations: 4 kB / 0.5679 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.6145, allocations: 11.94 kB / 0.5679 GB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.6145, allocations: 7.953 kB / 0.5679 GB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.6162, allocations: 1.185 MB / 0.5691 GB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6163, allocations: 4.094 kB / 0.5691 GB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.6167, allocations: 102.5 kB / 0.5692 GB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002617/0.6169, allocations: 82.28 kB / 0.5692 GB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.617, allocations: 4.188 kB / 0.5692 GB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002963/0.62, allocations: 3.936 MB / 0.5731 GB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.62, allocations: 4.031 kB / 0.5731 GB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.6211, allocations: 0.8908 MB / 0.574 GB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.6213, allocations: 100.7 kB / 0.5741 GB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.6213, allocations: 8.125 kB / 0.5741 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.6216, allocations: 15.98 kB / 0.5741 GB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.6217, allocations: 51.02 kB / 0.5741 GB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.6217, allocations: 11.56 kB / 0.5741 GB, free: 2.156 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001523/0.6219, allocations: 134.5 kB / 0.5743 GB, free: 2.039 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6219, allocations: 0 / 0.5743 GB, free: 2.039 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007295/0.6226, allocations: 100 kB / 0.5744 GB, free: 1.941 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001698/0.6228, allocations: 99.19 kB / 0.5745 GB, free: 1.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009809/0.6238, allocations: 0.6744 MB / 0.5751 GB, free: 1.246 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6238, allocations: 4 kB / 0.5751 GB, free: 1.242 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005941/0.6244, allocations: 0.525 MB / 0.5756 GB, free: 0.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.6249, allocations: 34.58 kB / 0.5757 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.6264, allocations: 0.887 MB / 0.5765 GB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.627, allocations: 0.832 MB / 0.5773 GB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.6271, allocations: 39.2 kB / 0.5774 GB, free: 14.97 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/0.6272, allocations: 27.44 kB / 0.5774 GB, free: 14.95 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6272, allocations: 0 / 0.5774 GB, free: 14.95 MB / 394.7 MB Notification: Performance of Templates: time 0.008758/0.6359, allocations: 3.672 MB / 0.581 GB, free: 11.3 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches