Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009751/0.0009751, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001198/0.002173, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007359/0.0007359, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009214/0.001657, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9861/0.9861, allocations: 158.6 MB / 171 MB, free: 2.168 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1855/1.172, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1494/0.1494, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02324/0.1726, allocations: 12.29 MB / 265.9 MB, free: 7.828 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.886e-05, allocations: 6.25 kB / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002765/0.002784, allocations: 2.88 MB / 270.1 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009432/0.003727, allocations: 0.7757 MB / 270.9 MB, free: 2.855 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.003848, allocations: 11.94 kB / 270.9 MB, free: 2.844 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.003948, allocations: 59.39 kB / 270.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.004112, allocations: 142.7 kB / 271.1 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.004261, allocations: 95.84 kB / 271.2 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.004579, allocations: 458.2 kB / 271.6 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.004753, allocations: 131.4 kB / 271.7 MB, free: 1.973 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.005001, allocations: 284.3 kB / 272 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.005148, allocations: 139.6 kB / 272.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.005189, allocations: 32 kB / 272.2 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.661e-05/0.005226, allocations: 40 kB / 272.2 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.005266, allocations: 63.75 kB / 272.3 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.908e-05/0.005355, allocations: 119.8 kB / 272.4 MB, free: 1.309 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.005595, allocations: 270.9 kB / 272.7 MB, free: 1.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.005609, allocations: 0 / 272.7 MB, free: 1.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005609, allocations: 3.938 kB / 272.7 MB, free: 1.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.005622, allocations: 0 / 272.7 MB, free: 1.039 MB / 266.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.0005983/0.00622, allocations: 0.6557 MB / 273.3 MB, free: 368 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.644e-05/0.006247, allocations: 16.02 kB / 273.3 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.006304, allocations: 56.91 kB / 273.4 MB, free: 296 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.00651, allocations: 202.1 kB / 273.6 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.006528, allocations: 29.38 kB / 273.6 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.006579, allocations: 40.41 kB / 273.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.006851, allocations: 306.1 kB / 274 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.006865, allocations: 4.141 kB / 274 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.006883, allocations: 20.36 kB / 274 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.006891, allocations: 15.94 kB / 274 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.007006, allocations: 99.84 kB / 274.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007256/0.007731, allocations: 0.7551 MB / 274.8 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.007935, allocations: 219.5 kB / 275.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.81e-05/0.008014, allocations: 94.47 kB / 275.2 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.008031, allocations: 12 kB / 275.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.008054, allocations: 46.5 kB / 275.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 1.092e-06/0.008055, allocations: 0 / 275.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=57): time 0.001578/0.009633, allocations: 1.565 MB / 276.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.009671, allocations: 110.8 kB / 276.9 MB, free: 12.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.607e-05/0.009757, allocations: 202.2 kB / 277.1 MB, free: 12.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.009777, allocations: 41.7 kB / 277.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.009836, allocations: 173.4 kB / 277.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.888e-05/0.009925, allocations: 206.2 kB / 277.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-05/0.009998, allocations: 90.3 kB / 277.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.099e-05/0.01008, allocations: 346.7 kB / 277.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.116e-05/0.01013, allocations: 41.3 kB / 278 MB, free: 11.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.42e-05/0.01022, allocations: 148.8 kB / 278.1 MB, free: 11.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.01039, allocations: 245.8 kB / 278.3 MB, free: 10.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.0104, allocations: 8 kB / 278.4 MB, free: 10.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003052/0.0107, allocations: 331.4 kB / 278.7 MB, free: 10.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.01071, allocations: 4 kB / 278.7 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.01072, allocations: 4 kB / 278.7 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001725/0.01089, allocations: 106.7 kB / 278.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.01112, allocations: 123.8 kB / 278.9 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.01316, allocations: 4.323 MB / 283.2 MB, free: 5.746 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.126e-05/0.01325, allocations: 20.34 kB / 283.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.01327, allocations: 15.98 kB / 283.3 MB, free: 5.711 MB / 282.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 9.463e-05/0.01337, allocations: 149.6 kB / 283.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.01343, allocations: 43.91 kB / 283.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.01347, allocations: 45.8 kB / 283.5 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.01347, allocations: 11.98 kB / 283.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.629e-06/0.01348, allocations: 4 kB / 283.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01349, allocations: 4 kB / 283.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007935/0.01428, allocations: 0.8335 MB / 284.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01428, allocations: 0 / 284.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.01451, allocations: 123.9 kB / 284.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.01453, allocations: 27.81 kB / 284.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001292/0.01466, allocations: 78.45 kB / 284.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.01468, allocations: 12 kB / 284.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.01629, allocations: 3.672 MB / 288.3 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.01629, allocations: 3.938 kB / 288.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.01673, allocations: 0.6224 MB / 288.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.01676, allocations: 12 kB / 288.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.01687, allocations: 15.98 kB / 288.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.01693, allocations: 47.86 kB / 289 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.01694, allocations: 8 kB / 289 MB, free: 15.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.603e-05/0.01697, allocations: 65.73 kB / 289 MB, free: 15.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01697, allocations: 4.031 kB / 289 MB, free: 15.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003826/0.01736, allocations: 116 kB / 289.2 MB, free: 15.46 MB / 298.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 8.765e-05/0.01744, allocations: 92.3 kB / 289.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005214/0.01797, allocations: 0.6329 MB / 289.9 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/0.01798, allocations: 11.98 kB / 289.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.0183, allocations: 0.509 MB / 290.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.01862, allocations: 84.59 kB / 290.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/0.02379, allocations: 0.8308 MB / 291.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.02391, allocations: 122.4 kB / 291.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.91e-05/0.024, allocations: 35.58 kB / 291.5 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.02412, allocations: 99.36 kB / 291.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02412, allocations: 0 / 291.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of Templates: time 0.006769/0.03089, allocations: 4.81 MB / 296.4 MB, free: 8.078 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.947220729663968]