Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 168.8 kB / 24.91 MB, free: 9.156 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9694/0.9694, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2658/0.2658, allocations: 34.27 MB / 296.1 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.846e-05, allocations: 6.328 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002887/0.002905, allocations: 2.891 MB / 328.2 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.004121, allocations: 0.8027 MB / 329 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.004253, allocations: 15.88 kB / 329 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.004411, allocations: 63.33 kB / 329.1 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.004599, allocations: 134.8 kB / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.004881, allocations: 119.8 kB / 329.3 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000684/0.005565, allocations: 467.2 kB / 329.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.005771, allocations: 139.3 kB / 329.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003426/0.006113, allocations: 263.4 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.006273, allocations: 143.6 kB / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.006311, allocations: 40 kB / 330.3 MB, free: 2.582 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.341e-05/0.006385, allocations: 40 kB / 330.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.006429, allocations: 87.66 kB / 330.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.61e-05/0.006515, allocations: 143.7 kB / 330.6 MB, free: 2.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.00678, allocations: 294.8 kB / 330.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.006782, allocations: 0 / 330.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.006783, allocations: 0 / 330.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.006791, allocations: 0 / 330.9 MB, free: 2.027 MB / 298.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.0005087/0.007299, allocations: 0.5948 MB / 331.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.007328, allocations: 8.031 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.007503, allocations: 80.88 kB / 331.6 MB, free: 1.324 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.007718, allocations: 209.2 kB / 331.8 MB, free: 1.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.007739, allocations: 29.38 kB / 331.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.007785, allocations: 40.33 kB / 331.8 MB, free: 1.023 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.008048, allocations: 306.1 kB / 332.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.008063, allocations: 8.141 kB / 332.1 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.00808, allocations: 16.38 kB / 332.2 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.008089, allocations: 11.94 kB / 332.2 MB, free: 0.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.008202, allocations: 99.91 kB / 332.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008076/0.00901, allocations: 0.7551 MB / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.00924, allocations: 219.5 kB / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.869e-05/0.009329, allocations: 94.45 kB / 333.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.00935, allocations: 4 kB / 333.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.009378, allocations: 42.5 kB / 333.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 1.824e-06/0.00938, allocations: 0 / 333.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.001683/0.01106, allocations: 1.586 MB / 335 MB, free: 13.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.01111, allocations: 110.8 kB / 335.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.01121, allocations: 195.4 kB / 335.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.01123, allocations: 37.7 kB / 335.3 MB, free: 13.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.0113, allocations: 173.4 kB / 335.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.0114, allocations: 210.2 kB / 335.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.01148, allocations: 82.31 kB / 335.8 MB, free: 12.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.01158, allocations: 354.7 kB / 336.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.268e-05/0.01163, allocations: 49.22 kB / 336.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.01174, allocations: 148.8 kB / 336.3 MB, free: 12.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.01194, allocations: 254.1 kB / 336.5 MB, free: 11.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.01195, allocations: 4 kB / 336.5 MB, free: 11.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006349/0.01258, allocations: 332.5 kB / 336.9 MB, free: 11.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.0126, allocations: 10.33 kB / 336.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.0126, allocations: 4 kB / 336.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.0128, allocations: 102.5 kB / 337 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.01301, allocations: 107.8 kB / 337.1 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.01517, allocations: 4.313 MB / 341.4 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.597e-05/0.01526, allocations: 15.98 kB / 341.4 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.01528, allocations: 16 kB / 341.4 MB, free: 6.77 MB / 314.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.01538, allocations: 141.7 kB / 341.6 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.01545, allocations: 43.91 kB / 341.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.01548, allocations: 49.83 kB / 341.7 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.01549, allocations: 12.17 kB / 341.7 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.0155, allocations: 8 kB / 341.7 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.01551, allocations: 3.984 kB / 341.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007679/0.01628, allocations: 0.8367 MB / 342.5 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.01628, allocations: 4 kB / 342.5 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.01649, allocations: 107.8 kB / 342.6 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/0.01662, allocations: 78.53 kB / 342.7 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.01664, allocations: 11.98 kB / 342.7 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.01859, allocations: 3.679 MB / 346.4 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01859, allocations: 0 / 346.4 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.01906, allocations: 0.6263 MB / 347 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.01908, allocations: 31.81 kB / 347.1 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.0191, allocations: 8 kB / 347.1 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.01922, allocations: 15.98 kB / 347.1 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/0.0193, allocations: 55.83 kB / 347.1 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.01931, allocations: 12 kB / 347.1 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.251e-05/0.01936, allocations: 59.41 kB / 347.2 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01936, allocations: 4 kB / 347.2 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003897/0.01975, allocations: 116 kB / 347.3 MB, free: 0.5312 MB / 314.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.949e-05/0.01984, allocations: 88.36 kB / 347.4 MB, free: 444 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005533/0.02039, allocations: 0.6401 MB / 348 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.0204, allocations: 4 kB / 348.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.02072, allocations: 0.5035 MB / 348.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.02106, allocations: 64.69 kB / 348.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009838/0.02204, allocations: 0.8243 MB / 349.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.43e-05/0.02213, allocations: 122.4 kB / 349.6 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.501e-05/0.0222, allocations: 35.27 kB / 349.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.02231, allocations: 107.3 kB / 349.7 MB, free: 13.99 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02231, allocations: 0 / 349.7 MB, free: 13.99 MB / 330.7 MB Notification: Performance of Templates: time 0.006879/0.02919, allocations: 4.753 MB / 354.5 MB, free: 9.309 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9866185430437326]