Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.0009933/0.0009933, allocations: 79.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.0009743/0.0009743, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9864/0.9864, allocations: 177.1 MB / 205 MB, free: 5.59 MB / 186.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.2554/0.2554, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.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.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.674e-05, allocations: 2.312 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002425/0.002451, allocations: 1.9 MB / 377.9 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003885/0.00284, allocations: 143.5 kB / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.002911, allocations: 7.938 kB / 378 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.808e-05/0.00297, allocations: 23.78 kB / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.00309, allocations: 55.5 kB / 378.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.003234, allocations: 39.94 kB / 378.2 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.003401, allocations: 191 kB / 378.3 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.003533, allocations: 37.78 kB / 378.4 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.00367, allocations: 107.8 kB / 378.5 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.442e-05/0.003764, allocations: 51.88 kB / 378.5 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.00379, allocations: 16 kB / 378.6 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.281e-05/0.003812, allocations: 16 kB / 378.6 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.003841, allocations: 31.84 kB / 378.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.75e-05/0.003909, allocations: 67.83 kB / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.004083, allocations: 123.5 kB / 378.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.004086, allocations: 0 / 378.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004087, allocations: 0 / 378.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.004092, allocations: 0 / 378.8 MB, free: 1.875 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005105/0.004602, allocations: 480.3 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.004638, allocations: 8.031 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.004695, allocations: 28.84 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.004854, allocations: 152.4 kB / 379.4 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.004868, allocations: 12.7 kB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.004907, allocations: 28.31 kB / 379.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.0051, allocations: 139.8 kB / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.005117, allocations: 8.125 kB / 379.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.005133, allocations: 8.375 kB / 379.6 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.005145, allocations: 8.375 kB / 379.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.889e-05/0.005234, allocations: 59.89 kB / 379.7 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.005867, allocations: 0.5762 MB / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.006018, allocations: 126 kB / 380.4 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.006068, allocations: 43.36 kB / 380.4 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.006078, allocations: 12.12 kB / 380.5 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.006104, allocations: 37.33 kB / 380.5 MB, free: 8 kB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.006106, allocations: 0 / 380.5 MB, free: 8 kB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004748/0.006581, allocations: 208.8 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.006613, allocations: 77.11 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.344e-05/0.006706, allocations: 197.8 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.006716, allocations: 25.7 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.006782, allocations: 175 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.006814, allocations: 63.47 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.006859, allocations: 43.23 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.007076, allocations: 0.4962 MB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.663e-05/0.007112, allocations: 15.98 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.007192, allocations: 123.8 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.007315, allocations: 156.7 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.007317, allocations: 0 / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002345/0.007551, allocations: 208.6 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.007566, allocations: 8 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.007571, allocations: 0 / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.007744, allocations: 51.58 kB / 382.3 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.007835, allocations: 35.92 kB / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.009733, allocations: 3.768 MB / 386.1 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.009788, allocations: 19.89 kB / 386.1 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.009797, allocations: 8 kB / 386.1 MB, free: 9.926 MB / 362.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 (20): * Single equations (assignments): 18 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.921e-05/0.009886, allocations: 184.5 kB / 386.3 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.00992, allocations: 15.91 kB / 386.3 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.009942, allocations: 20.77 kB / 386.4 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.009943, allocations: 0 / 386.4 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.009951, allocations: 4 kB / 386.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.009954, allocations: 0 / 386.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.01012, allocations: 156.5 kB / 386.5 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.01012, allocations: 3.984 kB / 386.5 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.952e-05/0.01021, allocations: 28 kB / 386.5 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.01031, allocations: 51.34 kB / 386.6 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.01032, allocations: 3.938 kB / 386.6 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.01174, allocations: 3.776 MB / 390.4 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01174, allocations: 0 / 390.4 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.01202, allocations: 442 kB / 390.8 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.01203, allocations: 11.95 kB / 390.8 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.01204, allocations: 3.938 kB / 390.8 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.078e-05/0.0121, allocations: 8 kB / 390.8 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.01213, allocations: 11.97 kB / 390.8 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.01214, allocations: 8.094 kB / 390.9 MB, free: 4.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.161e-05/0.01219, allocations: 143.2 kB / 391 MB, free: 4.754 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01219, allocations: 0 / 391 MB, free: 4.754 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003187/0.01251, allocations: 51.89 kB / 391 MB, free: 4.703 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * 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,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.533e-05/0.01261, allocations: 95.25 kB / 391.1 MB, free: 4.598 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003739/0.01298, allocations: 455.3 kB / 391.6 MB, free: 4.113 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01298, allocations: 0 / 391.6 MB, free: 4.113 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.01317, allocations: 396 kB / 392 MB, free: 3.688 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.01346, allocations: 36.08 kB / 392 MB, free: 3.652 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.01448, allocations: 0.5323 MB / 392.5 MB, free: 3.086 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.295e-05/0.01453, allocations: 79.98 kB / 392.6 MB, free: 2.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.792e-05/0.01457, allocations: 9.484 kB / 392.6 MB, free: 2.977 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.01459, allocations: 16.5 kB / 392.6 MB, free: 2.961 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01459, allocations: 0 / 392.6 MB, free: 2.961 MB / 362.7 MB Notification: Performance of Templates: time 0.003975/0.01856, allocations: 2.093 MB / 394.7 MB, free: 0.9023 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.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.195801518857479]