Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 177.4 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007783/0.0007782, allocations: 91.89 kB / 292.2 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3116/0.3116, allocations: 44.21 MB / 387.5 MB, free: 38.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.337, allocations: 61.89 MB / 0.5096 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.4496, allocations: 85.84 MB / 0.5934 GB, free: 9.297 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.4498, allocations: 63.97 kB / 0.5934 GB, free: 9.234 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005094/0.4549, allocations: 2.07 MB / 0.5955 GB, free: 7.164 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.455, allocations: 3.938 kB / 0.5955 GB, free: 7.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.455, allocations: 4 kB / 0.5955 GB, free: 7.156 MB / 410.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.0004124/0.4554, allocations: 375.3 kB / 0.5958 GB, free: 6.738 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4555, allocations: 8.031 kB / 0.5958 GB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.4555, allocations: 19.75 kB / 0.5959 GB, free: 6.711 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.4556, allocations: 178.9 kB / 0.596 GB, free: 6.496 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.4557, allocations: 12.23 kB / 0.596 GB, free: 6.484 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.4557, allocations: 12 kB / 0.596 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.4559, allocations: 129.6 kB / 0.5962 GB, free: 6.336 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.456, allocations: 3.906 kB / 0.5962 GB, free: 6.332 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.456, allocations: 8 kB / 0.5962 GB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.456, allocations: 0 / 0.5962 GB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.4561, allocations: 67.89 kB / 0.5962 GB, free: 6.258 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006818/0.4568, allocations: 0.5333 MB / 0.5968 GB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.4569, allocations: 97.14 kB / 0.5969 GB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.4569, allocations: 0 / 0.5969 GB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.457, allocations: 38.52 kB / 0.5969 GB, free: 5.504 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.457, allocations: 0 / 0.5969 GB, free: 5.504 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005486/0.4575, allocations: 301.4 kB / 0.5972 GB, free: 5.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.4576, allocations: 81.11 kB / 0.5973 GB, free: 5.062 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/0.4577, allocations: 116.9 kB / 0.5974 GB, free: 4.941 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.4577, allocations: 29.7 kB / 0.5974 GB, free: 4.906 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.4578, allocations: 115.7 kB / 0.5975 GB, free: 4.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.4578, allocations: 31.55 kB / 0.5975 GB, free: 4.758 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.4578, allocations: 4 kB / 0.5975 GB, free: 4.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.458, allocations: 320 kB / 0.5978 GB, free: 4.434 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.458, allocations: 27.98 kB / 0.5979 GB, free: 4.406 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/0.4581, allocations: 77.28 kB / 0.5979 GB, free: 4.301 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.214e-05/0.4581, allocations: 47.89 kB / 0.598 GB, free: 4.254 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4582, allocations: 0 / 0.598 GB, free: 4.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002866/0.4584, allocations: 163.2 kB / 0.5982 GB, free: 4.082 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4585, allocations: 12.03 kB / 0.5982 GB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4585, allocations: 0 / 0.5982 GB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.4587, allocations: 37.7 kB / 0.5982 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.456e-05/0.4588, allocations: 27.92 kB / 0.5982 GB, free: 4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.4606, allocations: 2.557 MB / 0.6007 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.859e-05/0.4607, allocations: 7.938 kB / 0.6007 GB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.4607, allocations: 11.94 kB / 0.6007 GB, free: 1.164 MB / 410.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.0001012/0.4608, allocations: 129.8 kB / 0.6009 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.4608, allocations: 7.906 kB / 0.6009 GB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.4609, allocations: 16.08 kB / 0.6009 GB, free: 1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.4609, allocations: 0 / 0.6009 GB, free: 1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4609, allocations: 7.953 kB / 0.6009 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4609, allocations: 0 / 0.6009 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.4611, allocations: 197.6 kB / 0.6011 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4611, allocations: 4 kB / 0.6011 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8e-05/0.4612, allocations: 15.88 kB / 0.6011 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.571e-05/0.4613, allocations: 33.7 kB / 0.6011 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.4613, allocations: 4 kB / 0.6011 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.4628, allocations: 2.556 MB / 0.6036 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4628, allocations: 0 / 0.6036 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.4631, allocations: 318.3 kB / 0.6039 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.4632, allocations: 92.94 kB / 0.604 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.4632, allocations: 0 / 0.604 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.4633, allocations: 8 kB / 0.604 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.4633, allocations: 7.984 kB / 0.604 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.4633, allocations: 0 / 0.604 GB, free: 13.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.549e-05/0.4634, allocations: 95.27 kB / 0.6041 GB, free: 13.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4634, allocations: 0 / 0.6041 GB, free: 13.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003227/0.4637, allocations: 36 kB / 0.6042 GB, free: 13.27 MB / 426.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.0001119/0.4639, allocations: 95.25 kB / 0.6043 GB, free: 13.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.4642, allocations: 301.5 kB / 0.6045 GB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4642, allocations: 0 / 0.6045 GB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.4645, allocations: 265.3 kB / 0.6048 GB, free: 12.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.4648, allocations: 22.44 kB / 0.6048 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007079/0.4655, allocations: 0.5672 MB / 0.6054 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.4657, allocations: 0.7122 MB / 0.6061 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.798e-05/0.4658, allocations: 4.891 kB / 0.6061 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.639e-05/0.4658, allocations: 15.44 kB / 0.6061 GB, free: 11.18 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4658, allocations: 0 / 0.6061 GB, free: 11.18 MB / 426.7 MB Notification: Performance of Templates: time 0.003362/0.4692, allocations: 1.4 MB / 0.6075 GB, free: 9.797 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches