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.0009602/0.0009602, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001259/0.002219, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009045/0.0009045, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.002031, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9404/0.9404, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08344/1.024, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.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.2973/0.2973, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02615/0.3235, allocations: 13.23 MB / 292.6 MB, free: 6.465 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.292e-06/1.292e-06, allocations: 0 / 293.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.525e-05, allocations: 3.156 kB / 293.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001798/0.001813, allocations: 1.743 MB / 295.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001427/0.001956, allocations: 107.6 kB / 295.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.001999, allocations: 3.938 kB / 295.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.002037, allocations: 15.86 kB / 295.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.869e-05/0.002096, allocations: 39.62 kB / 295.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.337e-05/0.002149, allocations: 23.97 kB / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.002268, allocations: 131.3 kB / 295.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.085e-05/0.002358, allocations: 25.95 kB / 295.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.725e-05/0.002446, allocations: 83.78 kB / 296 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.002514, allocations: 35.91 kB / 296 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.002536, allocations: 12 kB / 296.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.002548, allocations: 8 kB / 296.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.002565, allocations: 15.94 kB / 296.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.002597, allocations: 35.94 kB / 296.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.002706, allocations: 83.62 kB / 296.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.002718, allocations: 0 / 296.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.002718, allocations: 0 / 296.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.00273, allocations: 0 / 296.2 MB, free: 2.844 MB / 282.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.0004062/0.003136, allocations: 329.7 kB / 296.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.003166, allocations: 12.92 kB / 296.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.003199, allocations: 24.86 kB / 296.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.003318, allocations: 125.6 kB / 296.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.003329, allocations: 12.61 kB / 296.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.003357, allocations: 16.36 kB / 296.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.003464, allocations: 105.5 kB / 296.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.003476, allocations: 8.141 kB / 296.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.003484, allocations: 8.312 kB / 296.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.00349, allocations: 8.359 kB / 296.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.249e-05/0.003532, allocations: 29.05 kB / 296.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.003937, allocations: 375.9 kB / 297.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.535e-05/0.004013, allocations: 69.14 kB / 297.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.004032, allocations: 17.72 kB / 297.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.004039, allocations: 4 kB / 297.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.004058, allocations: 30.56 kB / 297.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.004059, allocations: 0 / 297.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002509/0.00431, allocations: 127.2 kB / 297.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.00434, allocations: 81.11 kB / 297.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.543e-05/0.004395, allocations: 119.8 kB / 297.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.004406, allocations: 29.7 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.004445, allocations: 115.9 kB / 297.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.004464, allocations: 31.73 kB / 297.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.004495, allocations: 41.64 kB / 297.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.38e-05/0.004559, allocations: 318.8 kB / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.004572, allocations: 15.92 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.834e-05/0.00461, allocations: 76.5 kB / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.605e-05/0.004676, allocations: 104.4 kB / 298.4 MB, free: 420 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.004678, allocations: 0 / 298.4 MB, free: 420 kB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001166/0.004795, allocations: 135.5 kB / 298.5 MB, free: 272 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.004806, allocations: 4 kB / 298.5 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.004811, allocations: 4 kB / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/0.004928, allocations: 37.64 kB / 298.6 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.365e-05/0.004982, allocations: 27.92 kB / 298.6 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.006065, allocations: 2.313 MB / 300.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.117e-05/0.006096, allocations: 19.88 kB / 300.9 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.006103, allocations: 8 kB / 300.9 MB, free: 13.68 MB / 298.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 5.182e-05/0.006155, allocations: 118.1 kB / 301 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.006176, allocations: 7.938 kB / 301.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.597e-05/0.006192, allocations: 11.98 kB / 301.1 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006194, allocations: 4 kB / 301.1 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.006195, allocations: 0 / 301.1 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.006198, allocations: 3.938 kB / 301.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.006305, allocations: 89.86 kB / 301.2 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.006306, allocations: 4.047 kB / 301.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/0.006358, allocations: 19.97 kB / 301.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.006364, allocations: 11.89 kB / 301.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-05/0.006421, allocations: 33.64 kB / 301.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.006427, allocations: 4 kB / 301.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.007449, allocations: 2.319 MB / 303.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.00745, allocations: 3.938 kB / 303.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.007574, allocations: 268.4 kB / 303.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-06/0.007582, allocations: 3.938 kB / 303.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.046e-05/0.007632, allocations: 4 kB / 303.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.007646, allocations: 7.984 kB / 303.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.007649, allocations: 8.125 kB / 303.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.509e-05/0.007664, allocations: 21.92 kB / 303.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007664, allocations: 0 / 303.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001789/0.007843, allocations: 35.95 kB / 303.9 MB, free: 10.48 MB / 298.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 6.177e-05/0.007905, allocations: 80.45 kB / 304 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.008115, allocations: 294.3 kB / 304.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.008119, allocations: 0 / 304.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.008222, allocations: 258 kB / 304.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.008424, allocations: 33.08 kB / 304.5 MB, free: 9.762 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.01011, allocations: 315.1 kB / 304.9 MB, free: 9.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.947e-05/0.01015, allocations: 75.77 kB / 304.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.621e-05/0.01018, allocations: 8.969 kB / 304.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.01023, allocations: 63.36 kB / 305 MB, free: 9.258 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01023, allocations: 0 / 305 MB, free: 9.258 MB / 298.7 MB Notification: Performance of Templates: time 0.003112/0.01334, allocations: 1.843 MB / 306.8 MB, free: 7.453 MB / 298.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 -ignoreHideResult -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: 2.901559129357338]