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.0008924/0.0008924, allocations: 175.3 kB / 16.76 MB, free: 5.051 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.37/1.37, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0009484/0.0009487, allocations: 84.86 kB / 271.3 MB, free: 8.254 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.3062/0.3062, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003904, allocations: 19.98 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1083, allocations: 58.83 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3128/0.4212, allocations: 84.67 MB / 0.5626 GB, free: 1.332 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.4215, allocations: 65.81 kB / 0.5627 GB, free: 1.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004775/0.4262, allocations: 2.018 MB / 0.5647 GB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4263, allocations: 4 kB / 0.5647 GB, free: 15.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.4263, allocations: 0 / 0.5647 GB, free: 15.27 MB / 394.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.0004592/0.4268, allocations: 388.2 kB / 0.565 GB, free: 14.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4268, allocations: 8.031 kB / 0.5651 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.4269, allocations: 16.75 kB / 0.5651 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.427, allocations: 176.2 kB / 0.5652 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.427, allocations: 8.609 kB / 0.5652 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.4271, allocations: 19.27 kB / 0.5653 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.4273, allocations: 125.6 kB / 0.5654 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.4273, allocations: 192 / 0.5654 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.4273, allocations: 7.938 kB / 0.5654 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4273, allocations: 4 kB / 0.5654 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.4275, allocations: 59.91 kB / 0.5655 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007431/0.4282, allocations: 0.541 MB / 0.566 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.4284, allocations: 85.84 kB / 0.5661 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.4284, allocations: 29.89 kB / 0.5661 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.4284, allocations: 7.938 kB / 0.5661 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.4285, allocations: 34.56 kB / 0.5661 GB, free: 13.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.4285, allocations: 0 / 0.5661 GB, free: 13.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005732/0.429, allocations: 305.4 kB / 0.5664 GB, free: 13.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.4291, allocations: 77.11 kB / 0.5665 GB, free: 13.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.144e-05/0.4292, allocations: 130.4 kB / 0.5666 GB, free: 13.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4292, allocations: 29.7 kB / 0.5666 GB, free: 12.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.4293, allocations: 107.8 kB / 0.5668 GB, free: 12.87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.4293, allocations: 31.55 kB / 0.5668 GB, free: 12.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-06/0.4293, allocations: 4 kB / 0.5668 GB, free: 12.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4294, allocations: 326.8 kB / 0.5671 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-05/0.4295, allocations: 27.98 kB / 0.5671 GB, free: 12.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/0.4296, allocations: 78.69 kB / 0.5672 GB, free: 12.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.4297, allocations: 129.8 kB / 0.5673 GB, free: 12.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.4297, allocations: 4 kB / 0.5673 GB, free: 12.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002494/0.43, allocations: 163.1 kB / 0.5675 GB, free: 12.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.43, allocations: 4 kB / 0.5675 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.43, allocations: 4 kB / 0.5675 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.4302, allocations: 41.58 kB / 0.5675 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.374e-05/0.4303, allocations: 23.98 kB / 0.5676 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.432, allocations: 2.535 MB / 0.57 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.104e-05/0.4321, allocations: 12.94 kB / 0.57 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.4321, allocations: 4 kB / 0.57 GB, free: 9.156 MB / 394.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 0.000102/0.4322, allocations: 137.8 kB / 0.5702 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.4323, allocations: 11.98 kB / 0.5702 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.4323, allocations: 11.89 kB / 0.5702 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4323, allocations: 4 kB / 0.5702 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4323, allocations: 0 / 0.5702 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4323, allocations: 0 / 0.5702 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.4326, allocations: 206.1 kB / 0.5704 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4326, allocations: 7.234 kB / 0.5704 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-05/0.4327, allocations: 12 kB / 0.5704 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.828e-05/0.4328, allocations: 37.64 kB / 0.5705 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.4328, allocations: 4 kB / 0.5705 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.4344, allocations: 2.548 MB / 0.5729 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4344, allocations: 0 / 0.5729 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.4347, allocations: 302.2 kB / 0.5732 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.4348, allocations: 89.05 kB / 0.5733 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.4348, allocations: 4.031 kB / 0.5733 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.4349, allocations: 8.078 kB / 0.5733 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.4349, allocations: 8.562 kB / 0.5733 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.4349, allocations: 4 kB / 0.5733 GB, free: 5.414 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.491e-05/0.435, allocations: 91.27 kB / 0.5734 GB, free: 5.324 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.435, allocations: 0 / 0.5734 GB, free: 5.324 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003404/0.4353, allocations: 40.16 kB / 0.5735 GB, free: 5.285 MB / 394.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.0001314/0.4355, allocations: 107.2 kB / 0.5736 GB, free: 5.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.4359, allocations: 295.5 kB / 0.5739 GB, free: 4.863 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4359, allocations: 0 / 0.5739 GB, free: 4.863 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.4361, allocations: 261.7 kB / 0.5741 GB, free: 4.582 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.4366, allocations: 27.8 kB / 0.5741 GB, free: 4.559 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007977/0.4374, allocations: 0.5537 MB / 0.5747 GB, free: 3.984 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.4377, allocations: 0.72 MB / 0.5754 GB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.981e-05/0.4378, allocations: 8.875 kB / 0.5754 GB, free: 3.227 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.4378, allocations: 11.44 kB / 0.5754 GB, free: 3.215 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4378, allocations: 0 / 0.5754 GB, free: 3.215 MB / 394.7 MB Notification: Performance of Templates: time 0.003639/0.4414, allocations: 1.413 MB / 0.5768 GB, free: 1.812 MB / 394.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/jenkins1/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