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.001904/0.001904, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002481/0.002481, allocations: 211.3 kB / 23.73 MB, free: 4.387 MB / 14.72 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 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.2308/0.2308, allocations: 46.96 MB / 360.9 MB, free: 4.02 MB / 286.1 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 0.002157/0.002157, allocations: 59.91 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3271, allocations: 66.04 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003224/0.3303, allocations: 1.61 MB / 0.5626 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003101/0.3307, allocations: 103.7 kB / 0.5627 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.3307, allocations: 3.938 kB / 0.5627 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.789e-05/0.3308, allocations: 15.86 kB / 0.5628 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.3309, allocations: 39.64 kB / 0.5628 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.331, allocations: 27.91 kB / 0.5628 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.3312, allocations: 131.4 kB / 0.5629 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.3313, allocations: 25.3 kB / 0.563 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.454e-05/0.3314, allocations: 51.8 kB / 0.563 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.463e-05/0.3315, allocations: 47.77 kB / 0.5631 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.3316, allocations: 8 kB / 0.5631 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.372e-05/0.3316, allocations: 11.94 kB / 0.5631 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.3316, allocations: 23.92 kB / 0.5631 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.242e-05/0.3317, allocations: 43.81 kB / 0.5631 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.3319, allocations: 125.9 kB / 0.5633 GB, free: 1.891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3319, allocations: 4 kB / 0.5633 GB, free: 1.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3319, allocations: 0 / 0.5633 GB, free: 1.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3319, allocations: 4 kB / 0.5633 GB, free: 1.883 MB / 398.1 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.0005038/0.3324, allocations: 338.1 kB / 0.5636 GB, free: 1.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3324, allocations: 8.031 kB / 0.5636 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.3325, allocations: 12.89 kB / 0.5636 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.3327, allocations: 138.3 kB / 0.5638 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.3327, allocations: 4.609 kB / 0.5638 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.3327, allocations: 20.38 kB / 0.5638 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.333, allocations: 125.5 kB / 0.5639 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.333, allocations: 8.125 kB / 0.5639 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.333, allocations: 11.94 kB / 0.5639 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.333, allocations: 4 kB / 0.5639 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3331, allocations: 55.97 kB / 0.564 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007143/0.3338, allocations: 436.2 kB / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.334, allocations: 85.17 kB / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.334, allocations: 29.8 kB / 0.5645 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.334, allocations: 0 / 0.5645 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.3341, allocations: 38.5 kB / 0.5645 GB, free: 468 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.3341, allocations: 0 / 0.5645 GB, free: 468 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005426/0.3346, allocations: 151.2 kB / 0.5647 GB, free: 304 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.3347, allocations: 85.05 kB / 0.5648 GB, free: 200 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.3348, allocations: 129.7 kB / 0.5649 GB, free: 60 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.3348, allocations: 29.64 kB / 0.5649 GB, free: 24 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.335, allocations: 119.8 kB / 0.565 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.335, allocations: 31.73 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.3351, allocations: 29.72 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3352, allocations: 322.8 kB / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.877e-05/0.3353, allocations: 23.98 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.3354, allocations: 88.58 kB / 0.5655 GB, free: 15.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.3356, allocations: 124.4 kB / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3356, allocations: 0 / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002987/0.3359, allocations: 167.1 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3359, allocations: 4 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3359, allocations: 4 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/0.3361, allocations: 37.7 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.827e-05/0.3362, allocations: 35.86 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.3383, allocations: 2.482 MB / 0.5683 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.3384, allocations: 19.83 kB / 0.5683 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.3384, allocations: 4 kB / 0.5683 GB, free: 12.25 MB / 414.1 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.0001224/0.3385, allocations: 134.1 kB / 0.5684 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.3385, allocations: 7.953 kB / 0.5684 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.3386, allocations: 12 kB / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3386, allocations: 0 / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3386, allocations: 0 / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.3386, allocations: 7.938 kB / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.3388, allocations: 133.2 kB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3388, allocations: 0 / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.3389, allocations: 19.98 kB / 0.5686 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.857e-05/0.339, allocations: 37.7 kB / 0.5686 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.339, allocations: 0 / 0.5686 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.3409, allocations: 2.478 MB / 0.5711 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3409, allocations: 4.062 kB / 0.5711 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.3413, allocations: 312.3 kB / 0.5714 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.3413, allocations: 0 / 0.5714 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.3413, allocations: 4 kB / 0.5714 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.261e-05/0.3414, allocations: 3.938 kB / 0.5714 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.3414, allocations: 15.97 kB / 0.5714 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3414, allocations: 4 kB / 0.5714 GB, free: 8.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.002e-05/0.3415, allocations: 91.27 kB / 0.5715 GB, free: 8.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3415, allocations: 0 / 0.5715 GB, free: 8.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003429/0.3418, allocations: 39.89 kB / 0.5715 GB, free: 8.684 MB / 414.1 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.0001266/0.3419, allocations: 99.23 kB / 0.5716 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000477/0.3424, allocations: 305.5 kB / 0.5719 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3424, allocations: 0 / 0.5719 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.3427, allocations: 257.8 kB / 0.5721 GB, free: 7.977 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.3432, allocations: 35.66 kB / 0.5722 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008124/0.344, allocations: 476.1 kB / 0.5726 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.365e-05/0.3441, allocations: 93.62 kB / 0.5727 GB, free: 7.344 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.963e-05/0.3441, allocations: 12.95 kB / 0.5727 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.3441, allocations: 11.44 kB / 0.5727 GB, free: 7.312 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3441, allocations: 0 / 0.5727 GB, free: 7.312 MB / 414.1 MB Notification: Performance of Templates: time 0.00487/0.349, allocations: 1.748 MB / 0.5745 GB, free: 5.598 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] 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.192659460008144]