Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.002238/0.002238, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002054/0.002054, allocations: 165.3 kB / 24.27 MB, free: 152 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.564/1.564, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3378/0.3378, allocations: 34.26 MB / 295.3 MB, free: 0.668 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.849e-05, allocations: 2.312 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003477/0.003505, allocations: 1.671 MB / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003048/0.00381, allocations: 107.5 kB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.00387, allocations: 0 / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.251e-05/0.003922, allocations: 11.86 kB / 379.1 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.004067, allocations: 55.56 kB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.004209, allocations: 19.97 kB / 379.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.004403, allocations: 131.3 kB / 379.3 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.004539, allocations: 33.14 kB / 379.3 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.004676, allocations: 67.88 kB / 379.4 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.393e-05/0.00477, allocations: 35.89 kB / 379.4 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.004798, allocations: 12 kB / 379.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.478e-05/0.004823, allocations: 8 kB / 379.4 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.00486, allocations: 27.84 kB / 379.4 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.371e-05/0.004924, allocations: 39.91 kB / 379.5 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.005148, allocations: 127.6 kB / 379.6 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.005151, allocations: 0 / 379.6 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.005152, allocations: 0 / 379.6 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.005157, allocations: 4 kB / 379.6 MB, free: 0.6406 MB / 346.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.000633/0.00579, allocations: 440.1 kB / 380 MB, free: 172 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.005829, allocations: 8.031 kB / 380 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.005893, allocations: 20.84 kB / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.006131, allocations: 148.5 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.006149, allocations: 12.61 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.006187, allocations: 12.38 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.006437, allocations: 143.2 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.006451, allocations: 192 / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.006466, allocations: 4.375 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.00648, allocations: 8.375 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.006603, allocations: 63.83 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00091/0.007513, allocations: 0.553 MB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.007698, allocations: 106.1 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.007749, allocations: 27.38 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.007766, allocations: 8 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.007808, allocations: 45.41 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.007809, allocations: 0 / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005955/0.008404, allocations: 156.8 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.008466, allocations: 77.11 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.008625, allocations: 185.9 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.008647, allocations: 29.7 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.008766, allocations: 174.4 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.008804, allocations: 39.7 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.008874, allocations: 43.36 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000295/0.009169, allocations: 0.4923 MB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/0.009218, allocations: 20 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.009354, allocations: 128 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.009554, allocations: 153.1 kB / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.009556, allocations: 0 / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003221/0.009878, allocations: 188.6 kB / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.009906, allocations: 8 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.009913, allocations: 0 / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002167/0.01013, allocations: 47.61 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.01022, allocations: 23.92 kB / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/0.01353, allocations: 3.53 MB / 386.4 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.01359, allocations: 8 kB / 386.5 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.0136, allocations: 7.984 kB / 386.5 MB, free: 9.18 MB / 362.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.01375, allocations: 176.5 kB / 386.6 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.0138, allocations: 19.88 kB / 386.7 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.01383, allocations: 12 kB / 386.7 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01383, allocations: 96 / 386.7 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.01384, allocations: 4 kB / 386.7 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.01385, allocations: 8.047 kB / 386.7 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.01412, allocations: 168.5 kB / 386.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01412, allocations: 0 / 386.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.106e-05/0.01421, allocations: 15.98 kB / 386.9 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/0.01434, allocations: 39.36 kB / 386.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.01435, allocations: 4 kB / 386.9 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002897/0.01724, allocations: 3.515 MB / 390.4 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01725, allocations: 0 / 390.4 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.01767, allocations: 410.3 kB / 390.8 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.01768, allocations: 11.89 kB / 390.8 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.0177, allocations: 4.219 kB / 390.8 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.0178, allocations: 8 kB / 390.8 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.01783, allocations: 11.97 kB / 390.9 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.01785, allocations: 15.91 kB / 390.9 MB, free: 4.445 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.774e-05/0.01795, allocations: 143.6 kB / 391 MB, free: 4.305 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01795, allocations: 0 / 391 MB, free: 4.305 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003414/0.01829, allocations: 35.95 kB / 391 MB, free: 4.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001393/0.01843, allocations: 99.17 kB / 391.1 MB, free: 4.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006196/0.01905, allocations: 423.3 kB / 391.6 MB, free: 3.707 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.01905, allocations: 0 / 391.6 MB, free: 3.707 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006401/0.01969, allocations: 383.3 kB / 391.9 MB, free: 3.293 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.02016, allocations: 32.22 kB / 392 MB, free: 3.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008057/0.02096, allocations: 389.8 kB / 392.3 MB, free: 2.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.02108, allocations: 93.81 kB / 392.4 MB, free: 2.734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.838e-05/0.02112, allocations: 8.969 kB / 392.4 MB, free: 2.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.02115, allocations: 12.5 kB / 392.5 MB, free: 2.711 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02115, allocations: 0 / 392.5 MB, free: 2.711 MB / 362.7 MB Notification: Performance of Templates: time 0.005584/0.02673, allocations: 1.683 MB / 394.1 MB, free: 1.051 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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: 5.073336589033715]