Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009321/0.0009321, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9759/0.9759, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1511/0.1511, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.15e-05, allocations: 5.156 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002338/0.00236, allocations: 1.687 MB / 381.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000269/0.002629, allocations: 119.5 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.0027, allocations: 3.938 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.242e-05/0.002753, allocations: 15.86 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.002869, allocations: 35.7 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.002984, allocations: 23.97 kB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.003111, allocations: 135.2 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.003251, allocations: 25.28 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.182e-05/0.003343, allocations: 71.81 kB / 382.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.00341, allocations: 39.91 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.003428, allocations: 12 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.00344, allocations: 8 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.003461, allocations: 23.91 kB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.003493, allocations: 43.91 kB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.0036, allocations: 79.73 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.003602, allocations: 3.984 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003603, allocations: 0 / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.003607, allocations: 0 / 382.3 MB, free: 20.45 MB / 314.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.0002776/0.003885, allocations: 432.4 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.003915, allocations: 12.03 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.003951, allocations: 24.84 kB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.395e-05/0.004045, allocations: 136.5 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.004054, allocations: 4.609 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.004074, allocations: 20.3 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.601e-05/0.00417, allocations: 112.6 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.004179, allocations: 192 / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.004187, allocations: 8.375 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.004192, allocations: 384 / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.823e-05/0.00423, allocations: 43.16 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.004558, allocations: 0.5066 MB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.351e-05/0.004622, allocations: 90.11 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.004642, allocations: 27.38 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.004648, allocations: 0 / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.004661, allocations: 37.39 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 7.81e-07/0.004661, allocations: 0 / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002527/0.004914, allocations: 145.1 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.655e-05/0.004931, allocations: 77.11 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.656e-05/0.004977, allocations: 181.6 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-06/0.004982, allocations: 29.7 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.005017, allocations: 174.5 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.005031, allocations: 31.7 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.005063, allocations: 35.34 kB / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.05e-05/0.005103, allocations: 0.4884 MB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.005116, allocations: 11.98 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.251e-05/0.005148, allocations: 100.8 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.97e-05/0.005208, allocations: 140.8 kB / 385.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.00521, allocations: 3.938 kB / 385.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001248/0.005335, allocations: 152.9 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.005345, allocations: 11 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.005351, allocations: 7.984 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/0.005463, allocations: 39.36 kB / 385.3 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.629e-05/0.005509, allocations: 16 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007645/0.006274, allocations: 3.419 MB / 388.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.006305, allocations: 7.938 kB / 388.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.00631, allocations: 11.98 kB / 388.8 MB, free: 13.39 MB / 314.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 4.407e-05/0.006354, allocations: 168.6 kB / 389 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.00638, allocations: 19.89 kB / 389 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.194e-05/0.006392, allocations: 8 kB / 389 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006394, allocations: 4 kB / 389 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.006396, allocations: 0 / 389 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006399, allocations: 0 / 389 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.006503, allocations: 129.2 kB / 389.1 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.006505, allocations: 0 / 389.1 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.00655, allocations: 12 kB / 389.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.146e-05/0.006601, allocations: 43.3 kB / 389.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.006607, allocations: 3.938 kB / 389.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005883/0.007195, allocations: 3.407 MB / 392.6 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007196, allocations: 3.938 kB / 392.6 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.007314, allocations: 390.2 kB / 393 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.007319, allocations: 7.953 kB / 393 MB, free: 8.902 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-06/0.007327, allocations: 7.938 kB / 393 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.667e-05/0.007373, allocations: 0 / 393 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.007388, allocations: 11.98 kB / 393 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.007391, allocations: 3.984 kB / 393 MB, free: 8.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.941e-05/0.00741, allocations: 127.2 kB / 393.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00741, allocations: 0 / 393.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.007608, allocations: 39.92 kB / 393.2 MB, free: 8.715 MB / 314.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 5.284e-05/0.007661, allocations: 99.23 kB / 393.3 MB, free: 8.609 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.007855, allocations: 403.2 kB / 393.6 MB, free: 8.176 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.007856, allocations: 0 / 393.6 MB, free: 8.176 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.797e-05/0.007954, allocations: 379.8 kB / 394 MB, free: 7.766 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.008201, allocations: 19.98 kB / 394 MB, free: 7.746 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.008639, allocations: 395.8 kB / 394.4 MB, free: 7.328 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.606e-05/0.008665, allocations: 67.83 kB / 394.5 MB, free: 7.242 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.098e-05/0.008686, allocations: 8.969 kB / 394.5 MB, free: 7.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.00873, allocations: 94.19 kB / 394.6 MB, free: 7.137 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008731, allocations: 0 / 394.6 MB, free: 7.137 MB / 314.7 MB Notification: Performance of Templates: time 0.002823/0.01155, allocations: 1.844 MB / 396.4 MB, free: 5.328 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.140713050030172]