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.001323/0.001323, allocations: 83.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.001044/0.001044, 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 1.034/1.034, allocations: 177.1 MB / 205 MB, free: 5.629 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.264/0.264, allocations: 32.8 MB / 294.3 MB, free: 1.277 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 2.775e-06/2.775e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.567e-05/3.844e-05, allocations: 2.312 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003753/0.003792, allocations: 1.889 MB / 377.9 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000649/0.004441, allocations: 151.5 kB / 378 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.004568, allocations: 7.875 kB / 378 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.274e-05/0.00466, allocations: 19.8 kB / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.004864, allocations: 59.48 kB / 378.1 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.005076, allocations: 39.94 kB / 378.2 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.005339, allocations: 191 kB / 378.3 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.005522, allocations: 37.78 kB / 378.4 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.005723, allocations: 111.8 kB / 378.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.005882, allocations: 47.88 kB / 378.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.005926, allocations: 16 kB / 378.6 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.878e-05/0.005955, allocations: 12 kB / 378.6 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.006001, allocations: 39.84 kB / 378.6 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.037e-05/0.006091, allocations: 51.91 kB / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.006398, allocations: 131.4 kB / 378.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.006405, allocations: 4 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.006407, allocations: 0 / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.006417, allocations: 0 / 378.8 MB, free: 1.859 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.000713/0.00713, allocations: 476.3 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.007185, allocations: 12.03 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.127e-05/0.007266, allocations: 28.84 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.007484, allocations: 148.4 kB / 379.4 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.007506, allocations: 16.7 kB / 379.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.00755, allocations: 20.31 kB / 379.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.007784, allocations: 143.8 kB / 379.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.007801, allocations: 8.141 kB / 379.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.007819, allocations: 8.375 kB / 379.6 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.007832, allocations: 8.375 kB / 379.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.007933, allocations: 59.88 kB / 379.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006776/0.008611, allocations: 0.5801 MB / 380.3 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.00882, allocations: 118.1 kB / 380.4 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.541e-05/0.008886, allocations: 43.36 kB / 380.4 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.008899, allocations: 3.938 kB / 380.4 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/0.008961, allocations: 49.52 kB / 380.5 MB, free: 16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.936e-06/0.008964, allocations: 0 / 380.5 MB, free: 16 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006424/0.009606, allocations: 208.7 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.009659, allocations: 81.11 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.009799, allocations: 197 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.009818, allocations: 33.69 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.009915, allocations: 175 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.009953, allocations: 55.48 kB / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.01001, allocations: 51.22 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.01015, allocations: 0.4884 MB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.0102, allocations: 23.98 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.838e-05/0.01028, allocations: 120.8 kB / 381.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.01043, allocations: 160.9 kB / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01043, allocations: 0 / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000242/0.01067, allocations: 204.7 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.01069, allocations: 4 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.0107, allocations: 4 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.01093, allocations: 51.34 kB / 382.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.01104, allocations: 39.92 kB / 382.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.0132, allocations: 3.76 MB / 386.1 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.29e-05/0.01328, allocations: 19.89 kB / 386.1 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.01329, allocations: 15.98 kB / 386.1 MB, free: 9.902 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 0.0001368/0.01343, allocations: 176.5 kB / 386.3 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.01347, allocations: 19.91 kB / 386.3 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.01349, allocations: 16.78 kB / 386.4 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.01349, allocations: 0 / 386.4 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.0135, allocations: 4 kB / 386.4 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01351, allocations: 0 / 386.4 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.01369, allocations: 160.5 kB / 386.5 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01369, allocations: 0 / 386.5 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.01379, allocations: 27.98 kB / 386.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001453/0.01394, allocations: 51.34 kB / 386.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.01395, allocations: 4 kB / 386.6 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.01591, allocations: 3.764 MB / 390.4 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01591, allocations: 0 / 390.4 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.01625, allocations: 450 kB / 390.8 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.01626, allocations: 11.95 kB / 390.8 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.01627, allocations: 11.88 kB / 390.8 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.01633, allocations: 4 kB / 390.8 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.01637, allocations: 15.97 kB / 390.8 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.01638, allocations: 4 kB / 390.8 MB, free: 4.879 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.095e-05/0.01644, allocations: 139.2 kB / 391 MB, free: 4.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01644, allocations: 0 / 391 MB, free: 4.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003779/0.01682, allocations: 59.89 kB / 391 MB, free: 4.684 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 0.0001466/0.01696, allocations: 91.25 kB / 391.1 MB, free: 4.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005373/0.0175, allocations: 465.7 kB / 391.6 MB, free: 4.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.0175, allocations: 0 / 391.6 MB, free: 4.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.01772, allocations: 383.4 kB / 392 MB, free: 3.676 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.01807, allocations: 32.81 kB / 392 MB, free: 3.645 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.01907, allocations: 0.5329 MB / 392.5 MB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.49e-05/0.01914, allocations: 75.98 kB / 392.6 MB, free: 2.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.475e-05/0.01918, allocations: 13.48 kB / 392.6 MB, free: 2.965 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.01922, allocations: 16.5 kB / 392.6 MB, free: 2.949 MB / 362.7 MB Notification: Performance of SimCode: time 1.583e-06/0.01922, allocations: 0 / 392.6 MB, free: 2.949 MB / 362.7 MB Notification: Performance of Templates: time 0.005457/0.02467, allocations: 2.181 MB / 394.8 MB, free: 0.8047 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.1903647910803556]