Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009757/0.0009757, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.0008798/0.0008798, allocations: 168.4 kB / 25.61 MB, free: 8.902 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.9255/0.9255, allocations: 177.1 MB / 206.1 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1524/0.1524, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] 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 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.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.475e-05, allocations: 4.828 kB / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002756/0.00278, allocations: 2.832 MB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.003983, allocations: 0.7866 MB / 380.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.004164, allocations: 11.94 kB / 380.9 MB, free: 21.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.004336, allocations: 63.33 kB / 380.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.004515, allocations: 134.8 kB / 381.1 MB, free: 21.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.004819, allocations: 115.8 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.005144, allocations: 470.1 kB / 381.6 MB, free: 21.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.005339, allocations: 130.8 kB / 381.8 MB, free: 21.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.005652, allocations: 267.4 kB / 382 MB, free: 20.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.005804, allocations: 139.6 kB / 382.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.005841, allocations: 36 kB / 382.2 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.353e-05/0.005904, allocations: 43.98 kB / 382.3 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.005942, allocations: 87.61 kB / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.217e-05/0.006024, allocations: 151.6 kB / 382.5 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.006296, allocations: 290.9 kB / 382.8 MB, free: 20.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.0063, allocations: 0 / 382.8 MB, free: 20.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.006301, allocations: 0 / 382.8 MB, free: 20.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.006309, allocations: 3.984 kB / 382.8 MB, free: 20.05 MB / 314.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.0005614/0.006871, allocations: 0.7065 MB / 383.5 MB, free: 19.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.006907, allocations: 11.98 kB / 383.5 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.007112, allocations: 96.64 kB / 383.6 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.007332, allocations: 248.9 kB / 383.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.007349, allocations: 29.38 kB / 383.9 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.007388, allocations: 48.27 kB / 383.9 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.007652, allocations: 306.7 kB / 384.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.007668, allocations: 4.188 kB / 384.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.007688, allocations: 16.38 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.007695, allocations: 11.94 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.007814, allocations: 116.3 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007635/0.008577, allocations: 0.9984 MB / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.008791, allocations: 256.9 kB / 385.6 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.871e-05/0.008869, allocations: 106.9 kB / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.008891, allocations: 8 kB / 385.7 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.008907, allocations: 41.39 kB / 385.8 MB, free: 16.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 1.864e-06/0.008909, allocations: 0 / 385.8 MB, free: 16.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.001404/0.01031, allocations: 1.549 MB / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.01034, allocations: 114.8 kB / 387.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.01043, allocations: 246.6 kB / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.01044, allocations: 37.7 kB / 387.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.01051, allocations: 244.1 kB / 387.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.589e-05/0.0106, allocations: 210.1 kB / 388.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/0.01068, allocations: 99.95 kB / 388.2 MB, free: 14.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.435e-05/0.01075, allocations: 0.5117 MB / 388.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.042e-05/0.01081, allocations: 53.25 kB / 388.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.01091, allocations: 186.7 kB / 389 MB, free: 13.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.01111, allocations: 275.7 kB / 389.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.01111, allocations: 0 / 389.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004219/0.01153, allocations: 419.1 kB / 389.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.01155, allocations: 6.031 kB / 389.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.01156, allocations: 4 kB / 389.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/0.01177, allocations: 127.2 kB / 389.8 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.01196, allocations: 95.83 kB / 389.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.01391, allocations: 6.259 MB / 396.1 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.01402, allocations: 19.98 kB / 396.2 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.01404, allocations: 16 kB / 396.2 MB, free: 5.742 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.000126/0.01417, allocations: 188.5 kB / 396.4 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-05/0.01424, allocations: 51.81 kB / 396.4 MB, free: 5.496 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.01429, allocations: 41.8 kB / 396.5 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.01429, allocations: 8 kB / 396.5 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.0143, allocations: 3.938 kB / 396.5 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.01431, allocations: 11.97 kB / 396.5 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000869/0.01518, allocations: 1.117 MB / 397.6 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.01518, allocations: 0 / 397.6 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.01538, allocations: 95.88 kB / 397.7 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/0.01553, allocations: 86.94 kB / 397.8 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.01555, allocations: 16.09 kB / 397.8 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.0172, allocations: 5.337 MB / 403.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.0172, allocations: 7.875 kB / 403.1 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006296/0.01783, allocations: 0.8256 MB / 404 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.01787, allocations: 35.77 kB / 404 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.01789, allocations: 15.94 kB / 404 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.01802, allocations: 19.98 kB / 404 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.22e-05/0.01811, allocations: 43.92 kB / 404.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.01812, allocations: 16.02 kB / 404.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.632e-05/0.0182, allocations: 173.7 kB / 404.3 MB, free: 13.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-08/0.0182, allocations: 0 / 404.3 MB, free: 13.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000487/0.01869, allocations: 116 kB / 404.4 MB, free: 13.08 MB / 330.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 0.0001213/0.01881, allocations: 123 kB / 404.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006907/0.0195, allocations: 0.8102 MB / 405.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.0195, allocations: 4 kB / 405.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004167/0.01992, allocations: 0.6713 MB / 406 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.02036, allocations: 68.08 kB / 406 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.02161, allocations: 0.9354 MB / 407 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.02172, allocations: 126.3 kB / 407.1 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.027e-05/0.02181, allocations: 27.28 kB / 407.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.02194, allocations: 130.2 kB / 407.3 MB, free: 9.996 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.02194, allocations: 0 / 407.3 MB, free: 9.996 MB / 330.7 MB Notification: Performance of Templates: time 0.008179/0.03012, allocations: 4.916 MB / 412.2 MB, free: 5.145 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.258255716878921]