Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001456/0.001456, allocations: 76.17 kB / 9.93 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002231/0.003687, allocations: 449.7 kB / 10.37 MB, free: 328 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.001124/0.001124, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.002539, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.035/1.035, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.126/1.161, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3174/0.3174, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03049/0.3479, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.842e-05, allocations: 3.188 kB / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004914/0.004942, allocations: 2.899 MB / 293.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.006444, allocations: 0.8055 MB / 294.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.006629, allocations: 15.88 kB / 294.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.006788, allocations: 71.31 kB / 294.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.00705, allocations: 134.8 kB / 294.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.007327, allocations: 123.6 kB / 294.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006073/0.007935, allocations: 470.8 kB / 295.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/0.008223, allocations: 136.2 kB / 295.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004357/0.008658, allocations: 280.4 kB / 295.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.008901, allocations: 143.5 kB / 295.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.008967, allocations: 36 kB / 295.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.009096, allocations: 36 kB / 295.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.655e-05/0.009163, allocations: 63.75 kB / 295.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.0093, allocations: 115.8 kB / 295.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.009707, allocations: 286.8 kB / 296.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-05/0.00973, allocations: 0 / 296.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.00973, allocations: 0 / 296.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.156e-05/0.009752, allocations: 0 / 296.2 MB, free: 2.715 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009467/0.0107, allocations: 0.6681 MB / 296.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.01075, allocations: 8.031 kB / 296.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003064/0.01105, allocations: 162 kB / 297 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.0113, allocations: 217.1 kB / 297.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.01132, allocations: 25.38 kB / 297.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.01137, allocations: 52.3 kB / 297.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.01166, allocations: 298.2 kB / 297.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.01168, allocations: 4.188 kB / 297.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.0117, allocations: 16.38 kB / 297.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.01171, allocations: 11.94 kB / 297.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.01184, allocations: 104.4 kB / 297.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007488/0.01259, allocations: 0.7549 MB / 298.5 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.01279, allocations: 220 kB / 298.7 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.0129, allocations: 91.02 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.01291, allocations: 7.984 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.01293, allocations: 46.44 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.162e-06/0.01294, allocations: 0 / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.001692/0.01463, allocations: 1.581 MB / 300.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.01467, allocations: 106.8 kB / 300.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.01477, allocations: 200.9 kB / 300.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.01479, allocations: 29.7 kB / 300.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/0.01486, allocations: 185.4 kB / 300.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.01496, allocations: 210.1 kB / 301.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.01503, allocations: 86.27 kB / 301.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.01514, allocations: 350.7 kB / 301.6 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.844e-05/0.01518, allocations: 49.28 kB / 301.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.01529, allocations: 140.8 kB / 301.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.01547, allocations: 251.7 kB / 302 MB, free: 12.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01548, allocations: 0 / 302 MB, free: 12.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003329/0.01581, allocations: 339.3 kB / 302.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.01582, allocations: 11.98 kB / 302.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01583, allocations: 4 kB / 302.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.01599, allocations: 102.4 kB / 302.4 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.01622, allocations: 115.9 kB / 302.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.0184, allocations: 4.318 MB / 306.9 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.608e-05/0.01848, allocations: 16 kB / 306.9 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.01849, allocations: 16 kB / 306.9 MB, free: 7.277 MB / 298.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 8.97e-05/0.01858, allocations: 141.8 kB / 307 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/0.01864, allocations: 43.91 kB / 307.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.01868, allocations: 41.8 kB / 307.1 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01868, allocations: 8 kB / 307.1 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.01869, allocations: 0 / 307.1 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.01869, allocations: 7.984 kB / 307.1 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007608/0.01946, allocations: 0.8384 MB / 308 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.01946, allocations: 4 kB / 308 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.01968, allocations: 115.8 kB / 308.1 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.0197, allocations: 27.81 kB / 308.1 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001298/0.01983, allocations: 86.58 kB / 308.2 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.01984, allocations: 12 kB / 308.2 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.0214, allocations: 3.685 MB / 311.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.0214, allocations: 0 / 311.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.02186, allocations: 0.6322 MB / 312.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.02188, allocations: 12 kB / 312.5 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.02199, allocations: 19.94 kB / 312.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.02206, allocations: 51.84 kB / 312.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.02207, allocations: 12 kB / 312.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.918e-05/0.02211, allocations: 58.03 kB / 312.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02211, allocations: 0 / 312.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003493/0.02246, allocations: 120 kB / 312.8 MB, free: 1.023 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 9.747e-05/0.02255, allocations: 96.3 kB / 312.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.02362, allocations: 0.6336 MB / 313.5 MB, free: 248 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.871e-05/0.02366, allocations: 7.984 kB / 313.5 MB, free: 240 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.0241, allocations: 0.5079 MB / 314 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.0245, allocations: 92.61 kB / 314.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/0.02984, allocations: 0.8359 MB / 315 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.02998, allocations: 122.4 kB / 315.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.03013, allocations: 39.53 kB / 315.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.03026, allocations: 99.36 kB / 315.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of SimCode: time 1.834e-06/0.03026, allocations: 0 / 315.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of Templates: time 0.008935/0.0392, allocations: 4.816 MB / 320 MB, free: 9.695 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 3.297490244731307]