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.001309/0.001309, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001791/0.001791, allocations: 164.4 kB / 24.82 MB, free: 9.266 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 1.112/1.112, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.3837/0.3837, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 179] 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 3.206e-06/3.206e-06, allocations: 0 / 378.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.606e-05/4.926e-05, allocations: 2.312 kB / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.005314/0.005363, allocations: 2.836 MB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.007683, allocations: 0.7904 MB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002843/0.007967, allocations: 11.94 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.008258, allocations: 67.31 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.00858, allocations: 130.8 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.009166, allocations: 115.8 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000646/0.009812, allocations: 470.1 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.01016, allocations: 134.7 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005944/0.01075, allocations: 267.4 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.01103, allocations: 143.5 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.638e-05/0.0111, allocations: 40 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.01122, allocations: 36 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.684e-05/0.01129, allocations: 83.67 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.01145, allocations: 143.7 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.01201, allocations: 302.8 kB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.01202, allocations: 0 / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.01202, allocations: 0 / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.01203, allocations: 3.938 kB / 384 MB, free: 12.83 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001127/0.01316, allocations: 0.7064 MB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.442e-05/0.01323, allocations: 12.03 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.01363, allocations: 100.6 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.01407, allocations: 239.9 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.01411, allocations: 29.38 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-05/0.01418, allocations: 48.34 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.0147, allocations: 298.7 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.01473, allocations: 12.12 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.01476, allocations: 16.38 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.01478, allocations: 11.94 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.01501, allocations: 111.8 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.01682, allocations: 0.9984 MB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.0172, allocations: 259.8 kB / 386.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.01731, allocations: 103 kB / 386.9 MB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.01734, allocations: 8 kB / 386.9 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.01737, allocations: 41.33 kB / 387 MB, free: 9.684 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.314e-06/0.01738, allocations: 4 kB / 387 MB, free: 9.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.002098/0.01947, allocations: 1.549 MB / 388.5 MB, free: 7.953 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.01953, allocations: 110.8 kB / 388.6 MB, free: 7.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.0197, allocations: 254.6 kB / 388.9 MB, free: 7.551 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.01972, allocations: 33.7 kB / 388.9 MB, free: 7.512 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.01984, allocations: 240.1 kB / 389.2 MB, free: 7.273 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.01998, allocations: 206.2 kB / 389.4 MB, free: 7.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.02008, allocations: 95.97 kB / 389.5 MB, free: 6.969 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.02026, allocations: 0.5195 MB / 390 MB, free: 6.438 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.985e-05/0.02033, allocations: 49.27 kB / 390 MB, free: 6.387 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.02058, allocations: 186.7 kB / 390.2 MB, free: 6.156 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.02081, allocations: 271.9 kB / 390.5 MB, free: 5.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.02081, allocations: 0 / 390.5 MB, free: 5.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004517/0.02127, allocations: 431.9 kB / 390.9 MB, free: 5.398 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.02129, allocations: 6.031 kB / 390.9 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.0213, allocations: 4 kB / 390.9 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000336/0.02163, allocations: 122.9 kB / 391 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.02185, allocations: 91.89 kB / 391.1 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/0.02528, allocations: 6.271 MB / 397.4 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.02541, allocations: 16 kB / 397.4 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.02543, allocations: 16 kB / 397.4 MB, free: 14.53 MB / 378.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.0001546/0.02558, allocations: 184.5 kB / 397.6 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-05/0.02565, allocations: 55.77 kB / 397.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.0257, allocations: 45.8 kB / 397.7 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.0257, allocations: 4 kB / 397.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/0.02572, allocations: 7.938 kB / 397.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.02572, allocations: 7.969 kB / 397.7 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.02675, allocations: 1.113 MB / 398.8 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.02675, allocations: 4 kB / 398.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.02696, allocations: 91.89 kB / 398.9 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001603/0.02712, allocations: 91.02 kB / 399 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.02714, allocations: 19.98 kB / 399 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002787/0.02993, allocations: 5.341 MB / 404.4 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.02993, allocations: 7.938 kB / 404.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/0.03056, allocations: 0.8373 MB / 405.2 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.03059, allocations: 23.81 kB / 405.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.03061, allocations: 23.88 kB / 405.3 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.03073, allocations: 8 kB / 405.3 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.03082, allocations: 47.91 kB / 405.3 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.03084, allocations: 16.03 kB / 405.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.641e-05/0.03092, allocations: 173.7 kB / 405.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03092, allocations: 3.938 kB / 405.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004784/0.0314, allocations: 116 kB / 405.6 MB, free: 5.852 MB / 378.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.0001414/0.03154, allocations: 115.2 kB / 405.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007223/0.03227, allocations: 0.8049 MB / 406.5 MB, free: 4.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.03227, allocations: 0 / 406.5 MB, free: 4.871 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004341/0.0327, allocations: 0.6778 MB / 407.2 MB, free: 4.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.03314, allocations: 67.95 kB / 407.3 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.03467, allocations: 0.948 MB / 408.2 MB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.03477, allocations: 118.4 kB / 408.3 MB, free: 2.934 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.797e-05/0.03486, allocations: 35.28 kB / 408.4 MB, free: 2.898 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.03499, allocations: 126.2 kB / 408.5 MB, free: 2.773 MB / 378.7 MB Notification: Performance of SimCode: time 1.233e-06/0.035, allocations: 0 / 408.5 MB, free: 2.773 MB / 378.7 MB Notification: Performance of Templates: time 0.007945/0.04294, allocations: 4.8 MB / 413.3 MB, free: 14.03 MB / 394.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 -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: 3.7588531118817627]