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.001323/0.001323, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001532/0.001532, allocations: 165.7 kB / 23.95 MB, free: 4.156 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.484/1.484, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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.2353/0.2353, allocations: 34.27 MB / 294.9 MB, free: 14.58 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.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 1.523e-06/1.523e-06, allocations: 0 / 442.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.613e-05, allocations: 6.281 kB / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004366/0.004393, allocations: 2.664 MB / 445.3 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.006061, allocations: 0.7749 MB / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.006354, allocations: 15.88 kB / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.006584, allocations: 59.38 kB / 446.2 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.006921, allocations: 138.7 kB / 446.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.007366, allocations: 115.8 kB / 446.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005754/0.007941, allocations: 474.1 kB / 446.9 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002854/0.008227, allocations: 122.8 kB / 447 MB, free: 1.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004468/0.008673, allocations: 267.4 kB / 447.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.008908, allocations: 131.6 kB / 447.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.802e-05/0.008976, allocations: 36 kB / 447.4 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.009086, allocations: 51.88 kB / 447.5 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.001e-05/0.009166, allocations: 79.67 kB / 447.6 MB, free: 496 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.00934, allocations: 143.7 kB / 447.7 MB, free: 352 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.216/0.2253, allocations: 459.3 kB / 448.2 MB, free: 16.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.2253, allocations: 1.75 kB / 448.2 MB, free: 16.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2253, allocations: 0 / 448.2 MB, free: 16.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.777e-05/0.2253, allocations: 0 / 448.2 MB, free: 16.17 MB / 366.1 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.001081/0.2264, allocations: 0.6017 MB / 448.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2265, allocations: 9.125 kB / 448.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.2268, allocations: 75.34 kB / 448.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.2271, allocations: 241.1 kB / 449.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.2272, allocations: 31.25 kB / 449.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/0.2272, allocations: 38.12 kB / 449.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.2279, allocations: 382.8 kB / 449.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.2279, allocations: 10.83 kB / 449.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.2279, allocations: 14.06 kB / 449.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.2279, allocations: 14.28 kB / 449.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.2284, allocations: 244.8 kB / 449.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.2299, allocations: 0.909 MB / 450.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.2304, allocations: 319.6 kB / 451 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.2307, allocations: 158 kB / 451.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.2307, allocations: 5.984 kB / 451.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.2307, allocations: 46.17 kB / 451.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.774e-06/0.2307, allocations: 3.719 kB / 451.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.00342/0.2341, allocations: 2.007 MB / 453.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.2342, allocations: 113.9 kB / 453.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.2343, allocations: 197.1 kB / 453.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.2344, allocations: 37.88 kB / 453.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.2345, allocations: 194.6 kB / 453.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.2346, allocations: 208.2 kB / 454 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.2347, allocations: 82.91 kB / 454 MB, free: 13.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.681e-05/0.2347, allocations: 345.7 kB / 454.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.235, allocations: 131.5 kB / 454.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/0.2353, allocations: 229.9 kB / 454.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.2359, allocations: 401.2 kB / 455.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2359, allocations: 5.125 kB / 455.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009782/0.2368, allocations: 0.5468 MB / 455.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2369, allocations: 9.5 kB / 455.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2369, allocations: 7.391 kB / 455.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003518/0.2372, allocations: 127.6 kB / 455.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.2376, allocations: 95.58 kB / 455.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003061/0.2407, allocations: 4.798 MB / 460.7 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.2409, allocations: 18.7 kB / 460.7 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.2409, allocations: 19.12 kB / 460.8 MB, free: 7.738 MB / 366.1 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.0001692/0.2411, allocations: 177.7 kB / 460.9 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.545e-05/0.2412, allocations: 41.58 kB / 461 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.104e-05/0.2413, allocations: 45.91 kB / 461 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.2413, allocations: 7.703 kB / 461 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.2413, allocations: 2.688 kB / 461 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.2413, allocations: 3.859 kB / 461 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.2431, allocations: 1.176 MB / 462.2 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2431, allocations: 1.188 kB / 462.2 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.2435, allocations: 96.83 kB / 462.3 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002798/0.2438, allocations: 98 kB / 462.4 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.2438, allocations: 14.83 kB / 462.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/0.2461, allocations: 4.033 MB / 466.4 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.2462, allocations: 3.531 kB / 466.4 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.2474, allocations: 0.9158 MB / 467.4 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.2474, allocations: 30.62 kB / 467.4 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.2474, allocations: 12.41 kB / 467.4 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.2477, allocations: 20.23 kB / 467.4 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.2478, allocations: 55.02 kB / 467.5 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.2479, allocations: 15.59 kB / 467.5 MB, free: 2.309 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.248, allocations: 145.3 kB / 467.6 MB, free: 2.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.248, allocations: 0 / 467.6 MB, free: 2.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007331/0.2487, allocations: 117.1 kB / 467.7 MB, free: 2.199 MB / 366.1 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.0001176/0.2488, allocations: 110.8 kB / 467.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.2501, allocations: 0.7555 MB / 468.6 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2501, allocations: 0 / 468.6 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007017/0.2508, allocations: 0.5627 MB / 469.2 MB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006535/0.2514, allocations: 66.23 kB / 469.2 MB, free: 1.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.2528, allocations: 0.9663 MB / 470.2 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.253, allocations: 222.1 kB / 470.4 MB, free: 444 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.2531, allocations: 37.28 kB / 470.5 MB, free: 432 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.2532, allocations: 27.42 kB / 470.5 MB, free: 424 kB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2532, allocations: 1.562 kB / 470.5 MB, free: 424 kB / 366.1 MB Notification: Performance of Templates: time 0.009813/0.263, allocations: 4.362 MB / 474.8 MB, free: 15.89 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.30505882576108]