Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001593, allocations: 184.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008498/0.0008495, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2126/0.2126, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003268, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1228, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3776/0.5004, allocations: 84.66 MB / 0.5614 GB, free: 15.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.5007, allocations: 65.88 kB / 0.5615 GB, free: 15.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005217/0.5059, allocations: 2.011 MB / 0.5635 GB, free: 13.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.506, allocations: 3.938 kB / 0.5635 GB, free: 13.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.506, allocations: 4 kB / 0.5635 GB, free: 13.38 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005412/0.5065, allocations: 381.3 kB / 0.5638 GB, free: 12.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.5066, allocations: 12.03 kB / 0.5638 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.5066, allocations: 7.906 kB / 0.5638 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.5069, allocations: 178.8 kB / 0.564 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.5069, allocations: 6.859 kB / 0.564 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.5069, allocations: 19.03 kB / 0.564 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.5072, allocations: 131.7 kB / 0.5642 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.5072, allocations: 4 kB / 0.5642 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.5073, allocations: 4.672 kB / 0.5642 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.5073, allocations: 4 kB / 0.5642 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.5074, allocations: 58.41 kB / 0.5642 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007981/0.5082, allocations: 0.5429 MB / 0.5648 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.5083, allocations: 89.92 kB / 0.5648 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.5084, allocations: 0 / 0.5648 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.5084, allocations: 33.88 kB / 0.5649 GB, free: 11.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.5084, allocations: 0 / 0.5649 GB, free: 11.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005654/0.509, allocations: 305.5 kB / 0.5652 GB, free: 11.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.509, allocations: 88.56 kB / 0.5653 GB, free: 11.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.927e-05/0.5091, allocations: 114.3 kB / 0.5654 GB, free: 11.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.5091, allocations: 29.45 kB / 0.5654 GB, free: 11.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.5092, allocations: 115.1 kB / 0.5655 GB, free: 11.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.5093, allocations: 35.05 kB / 0.5655 GB, free: 11.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.5093, allocations: 0 / 0.5655 GB, free: 11.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5094, allocations: 318 kB / 0.5658 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.555e-05/0.5094, allocations: 23.38 kB / 0.5659 GB, free: 10.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.028e-05/0.5095, allocations: 87.06 kB / 0.5659 GB, free: 10.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.891e-05/0.5096, allocations: 41.86 kB / 0.566 GB, free: 10.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5096, allocations: 0 / 0.566 GB, free: 10.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002618/0.5099, allocations: 168.1 kB / 0.5661 GB, free: 10.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5099, allocations: 10.86 kB / 0.5662 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5099, allocations: 8 kB / 0.5662 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001965/0.5101, allocations: 36.89 kB / 0.5662 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.5102, allocations: 19.94 kB / 0.5662 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.512, allocations: 2.555 MB / 0.5687 GB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.512, allocations: 7.906 kB / 0.5687 GB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.512, allocations: 7.594 kB / 0.5687 GB, free: 7.746 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.47e-05/0.5121, allocations: 128.8 kB / 0.5688 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.5122, allocations: 11.86 kB / 0.5689 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.5122, allocations: 7.344 kB / 0.5689 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5122, allocations: 12 kB / 0.5689 GB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5122, allocations: 0 / 0.5689 GB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5123, allocations: 0 / 0.5689 GB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.5125, allocations: 200 kB / 0.5691 GB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5125, allocations: 0 / 0.5691 GB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.704e-05/0.5126, allocations: 23.86 kB / 0.5691 GB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.326e-05/0.5127, allocations: 36.84 kB / 0.5691 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.5127, allocations: 7.938 kB / 0.5691 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.5143, allocations: 2.539 MB / 0.5716 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5143, allocations: 0 / 0.5716 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.5146, allocations: 326.3 kB / 0.5719 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.5146, allocations: 84.95 kB / 0.572 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.5147, allocations: 4 kB / 0.572 GB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.5148, allocations: 3.25 kB / 0.572 GB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.5148, allocations: 8.031 kB / 0.572 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.5148, allocations: 7.953 kB / 0.572 GB, free: 4.129 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.698e-05/0.5149, allocations: 101.7 kB / 0.5721 GB, free: 4.035 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5149, allocations: 0 / 0.5721 GB, free: 4.035 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003165/0.5152, allocations: 39.41 kB / 0.5722 GB, free: 4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * 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 (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001142/0.5153, allocations: 95.25 kB / 0.5723 GB, free: 3.898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000388/0.5157, allocations: 295.6 kB / 0.5725 GB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5157, allocations: 0 / 0.5725 GB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.516, allocations: 258 kB / 0.5728 GB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.5163, allocations: 23.42 kB / 0.5728 GB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007867/0.5171, allocations: 0.5567 MB / 0.5733 GB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.5174, allocations: 0.7122 MB / 0.574 GB, free: 2.016 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.941e-05/0.5175, allocations: 12.86 kB / 0.5741 GB, free: 2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.5175, allocations: 15.44 kB / 0.5741 GB, free: 1.984 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5175, allocations: 0 / 0.5741 GB, free: 1.984 MB / 378.7 MB Notification: Performance of Templates: time 0.003762/0.5213, allocations: 1.398 MB / 0.5754 GB, free: 0.5977 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches