Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.001381/0.001381, allocations: 92.31 kB / 20.96 MB, free: 3.48 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.00149/0.00149, allocations: 161.7 kB / 24.26 MB, free: 180 kB / 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 1.504/1.504, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3352/0.3352, allocations: 32.79 MB / 293.9 MB, free: 1.199 MB / 266.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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 375.3 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.061e-05, allocations: 5.547 kB / 375.3 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004445/0.004476, allocations: 2.657 MB / 377.9 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.005971, allocations: 0.7439 MB / 378.7 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.006138, allocations: 15.88 kB / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.006332, allocations: 55.39 kB / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.006596, allocations: 138.8 kB / 378.9 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.006963, allocations: 107.8 kB / 379 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005163/0.007479, allocations: 453.6 kB / 379.4 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.007709, allocations: 98.12 kB / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004137/0.008123, allocations: 263.4 kB / 379.8 MB, free: 468 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.008344, allocations: 127.6 kB / 379.9 MB, free: 340 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.008404, allocations: 36 kB / 379.9 MB, free: 304 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.579e-05/0.0085, allocations: 36 kB / 380 MB, free: 268 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.489e-05/0.008585, allocations: 75.73 kB / 380 MB, free: 192 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.008752, allocations: 143.7 kB / 380.2 MB, free: 48 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005757/0.009328, allocations: 446.5 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.009331, allocations: 0 / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.009332, allocations: 0 / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.009338, allocations: 0 / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001067/0.0104, allocations: 0.5755 MB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.01044, allocations: 12.03 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000335/0.01078, allocations: 88.64 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.0112, allocations: 229.6 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.01124, allocations: 29.38 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.058e-05/0.01132, allocations: 44.33 kB / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/0.01205, allocations: 390.7 kB / 382 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.01207, allocations: 8.141 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.01212, allocations: 16.38 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.01213, allocations: 19.88 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.01261, allocations: 223.7 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.01505, allocations: 1.556 MB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.01557, allocations: 266.3 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.01575, allocations: 90.02 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.01578, allocations: 8 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.01583, allocations: 50.44 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.01583, allocations: 0 / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008365/0.01666, allocations: 269.6 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.01683, allocations: 213.6 kB / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.01714, allocations: 276 kB / 384.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.01717, allocations: 29.7 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.01737, allocations: 244.1 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.01755, allocations: 127 kB / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.01775, allocations: 102.2 kB / 385.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.01796, allocations: 338.8 kB / 385.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.01819, allocations: 101.2 kB / 385.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/0.01874, allocations: 433.1 kB / 386.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008277/0.01956, allocations: 0.5705 MB / 386.8 MB, free: 8.699 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.01957, allocations: 4 kB / 386.8 MB, free: 8.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009911/0.02056, allocations: 0.5521 MB / 387.4 MB, free: 8.137 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.02059, allocations: 12 kB / 387.4 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.0206, allocations: 12 kB / 387.4 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.369e-05/0.02064, allocations: 12 kB / 387.4 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.02111, allocations: 151.7 kB / 387.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-05/0.02114, allocations: 27.86 kB / 387.6 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.02146, allocations: 63.58 kB / 387.7 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.0215, allocations: 32.28 kB / 387.7 MB, free: 7.832 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002159/0.02172, allocations: 181.5 kB / 387.9 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.02189, allocations: 43.78 kB / 387.9 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/0.02198, allocations: 33.8 kB / 388 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.02198, allocations: 4 kB / 388 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.02199, allocations: 4 kB / 388 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.022, allocations: 0 / 388 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.02336, allocations: 0.5656 MB / 388.5 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.02337, allocations: 4.125 kB / 388.5 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004683/0.02384, allocations: 95.94 kB / 388.6 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.02385, allocations: 4 kB / 388.6 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.02388, allocations: 8 kB / 388.6 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.02388, allocations: 4 kB / 388.6 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.02388, allocations: 0 / 388.6 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009746/0.02486, allocations: 0.8416 MB / 389.5 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.02491, allocations: 27.75 kB / 389.5 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.035e-05/0.02496, allocations: 15.98 kB / 389.5 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.02532, allocations: 12 kB / 389.5 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.02539, allocations: 24.09 kB / 389.6 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.02541, allocations: 11.98 kB / 389.6 MB, free: 5.871 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.0256, allocations: 171.1 kB / 389.7 MB, free: 5.707 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0256, allocations: 3.938 kB / 389.7 MB, free: 5.703 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007896/0.02639, allocations: 103.8 kB / 389.8 MB, free: 5.602 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000155/0.02654, allocations: 115.2 kB / 390 MB, free: 5.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005715/0.02712, allocations: 274.9 kB / 390.2 MB, free: 5.215 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02712, allocations: 4.062 kB / 390.2 MB, free: 5.211 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.02731, allocations: 91.77 kB / 390.3 MB, free: 5.121 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.02833, allocations: 68.92 kB / 390.4 MB, free: 5.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.03064, allocations: 1.184 MB / 391.6 MB, free: 3.809 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.03089, allocations: 202.3 kB / 391.8 MB, free: 3.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.03106, allocations: 39.27 kB / 391.8 MB, free: 3.555 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.869e-05/0.03115, allocations: 36.48 kB / 391.8 MB, free: 3.52 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.03115, allocations: 4 kB / 391.8 MB, free: 3.516 MB / 362.7 MB Notification: Performance of Templates: time 0.007397/0.03855, allocations: 2.886 MB / 394.7 MB, free: 0.6953 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.737133441027254]