Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.001421/0.001421, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001339/0.001339, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.975/0.975, allocations: 177 MB / 204.8 MB, free: 5.586 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.2699/0.2699, allocations: 34.87 MB / 296.3 MB, free: 0.4922 MB / 266.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.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 378.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.815e-05, allocations: 4.703 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.005749/0.005777, allocations: 1.889 MB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000335/0.006112, allocations: 147.5 kB / 380.8 MB, free: 48 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.006178, allocations: 4 kB / 380.8 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.946e-05/0.006237, allocations: 23.73 kB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.006384, allocations: 59.61 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.006519, allocations: 35.94 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.006694, allocations: 195 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.006823, allocations: 33.8 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.006953, allocations: 111.8 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.535e-05/0.007048, allocations: 51.88 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.007084, allocations: 16 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.466e-05/0.007108, allocations: 12 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.007137, allocations: 31.84 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.007194, allocations: 63.91 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003378/0.01057, allocations: 123.5 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.01058, allocations: 0 / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01058, allocations: 7.938 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.01058, allocations: 0 / 381.5 MB, free: 15.29 MB / 362.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.0004877/0.01107, allocations: 476.3 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.01111, allocations: 12.03 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.01118, allocations: 28.84 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.01136, allocations: 148.4 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.01138, allocations: 20.7 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.01142, allocations: 12.38 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.01164, allocations: 151.8 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.01165, allocations: 4.141 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.01167, allocations: 8.375 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.01168, allocations: 4.375 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.01179, allocations: 62.06 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.01246, allocations: 0.5839 MB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.01263, allocations: 122.1 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.925e-05/0.01269, allocations: 43.3 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.0127, allocations: 7.938 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.01272, allocations: 45.38 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.01272, allocations: 0 / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.003586/0.01631, allocations: 204.9 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.01635, allocations: 81.11 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.01646, allocations: 192.2 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.01648, allocations: 33.7 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.01655, allocations: 175 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.01659, allocations: 55.48 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.01665, allocations: 51.22 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.01677, allocations: 0.4884 MB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.561e-05/0.01681, allocations: 23.98 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-05/0.01691, allocations: 122.3 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.01706, allocations: 161 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.01707, allocations: 4 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002891/0.01736, allocations: 196.7 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.01737, allocations: 4 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.01738, allocations: 4 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/0.01758, allocations: 55.53 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.01783, allocations: 39.98 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005145/0.02297, allocations: 3.761 MB / 388.9 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.02304, allocations: 16.03 kB / 388.9 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.02305, allocations: 16 kB / 388.9 MB, free: 7.34 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.0001007/0.02315, allocations: 168.5 kB / 389.1 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.0232, allocations: 19.91 kB / 389.1 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.02322, allocations: 16.78 kB / 389.1 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.02323, allocations: 0 / 389.1 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.02323, allocations: 0 / 389.1 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.02324, allocations: 4 kB / 389.1 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.02344, allocations: 168.5 kB / 389.3 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.02344, allocations: 8 kB / 389.3 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.02355, allocations: 23.98 kB / 389.3 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.02367, allocations: 51.38 kB / 389.3 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.02368, allocations: 8 kB / 389.4 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004629/0.02831, allocations: 3.764 MB / 393.1 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.02831, allocations: 0 / 393.1 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.02863, allocations: 442.2 kB / 393.6 MB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.02864, allocations: 7.953 kB / 393.6 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.02865, allocations: 7.938 kB / 393.6 MB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.684e-05/0.02874, allocations: 4.156 kB / 393.6 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.02877, allocations: 23.91 kB / 393.6 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.02878, allocations: 0 / 393.6 MB, free: 2.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.393e-05/0.02883, allocations: 139.2 kB / 393.7 MB, free: 2.184 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02883, allocations: 0 / 393.7 MB, free: 2.184 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004209/0.02925, allocations: 59.89 kB / 393.8 MB, free: 2.125 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.888e-05/0.02935, allocations: 91.25 kB / 393.9 MB, free: 2.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004351/0.02979, allocations: 455.1 kB / 394.3 MB, free: 1.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.02979, allocations: 0 / 394.3 MB, free: 1.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.03001, allocations: 395.3 kB / 394.7 MB, free: 1.113 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.03039, allocations: 34.52 kB / 394.7 MB, free: 1.082 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/0.03429, allocations: 0.5278 MB / 395.3 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.697e-05/0.03433, allocations: 75.98 kB / 395.3 MB, free: 436 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.365e-05/0.03437, allocations: 17.47 kB / 395.4 MB, free: 416 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.03439, allocations: 12.5 kB / 395.4 MB, free: 404 kB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03439, allocations: 0 / 395.4 MB, free: 404 kB / 362.7 MB Notification: Performance of Templates: time 0.004221/0.03861, allocations: 2.185 MB / 397.6 MB, free: 14.25 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.027318473905325]