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.001135/0.001135, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001181/0.001181, allocations: 159.1 kB / 24.99 MB, free: 8.801 MB / 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 1.044/1.044, allocations: 177 MB / 205.2 MB, free: 5.598 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.4289/0.4289, allocations: 34.87 MB / 296.6 MB, free: 0.5625 MB / 266.7 MB " [Timeout remaining time 179] 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 2.174e-06/2.174e-06, allocations: 0 / 378.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.207e-05, allocations: 7.094 kB / 378.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002893/0.002925, allocations: 1.891 MB / 380.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004324/0.003357, allocations: 151.4 kB / 380.8 MB, free: 400 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/0.00344, allocations: 4 kB / 380.8 MB, free: 396 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.892e-05/0.003499, allocations: 23.78 kB / 380.8 MB, free: 372 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.003641, allocations: 59.42 kB / 380.9 MB, free: 312 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.003785, allocations: 35.89 kB / 380.9 MB, free: 276 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.003972, allocations: 195 kB / 381.1 MB, free: 80 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.004114, allocations: 37.78 kB / 381.1 MB, free: 44 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.004286, allocations: 107.8 kB / 381.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.00439, allocations: 55.86 kB / 381.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.004421, allocations: 12 kB / 381.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.399e-05/0.004445, allocations: 16 kB / 381.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.372e-05/0.004478, allocations: 39.83 kB / 381.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.969e-05/0.004538, allocations: 51.92 kB / 381.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.004722, allocations: 123.5 kB / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.004725, allocations: 0 / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004726, allocations: 0 / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.004731, allocations: 0 / 381.5 MB, free: 15.64 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.0004794/0.00521, allocations: 488.2 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.005255, allocations: 12.03 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/0.005329, allocations: 32.84 kB / 382 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.005548, allocations: 152.3 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.005568, allocations: 16.7 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.005607, allocations: 12.38 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.005853, allocations: 143.8 kB / 382.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.005872, allocations: 8.141 kB / 382.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.005892, allocations: 4.375 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.005904, allocations: 4.375 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.006028, allocations: 62.02 kB / 382.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006793/0.006707, allocations: 0.5801 MB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.006888, allocations: 126.1 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.00695, allocations: 39.36 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.006962, allocations: 7.938 kB / 383.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.006989, allocations: 41.39 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.472e-06/0.00699, allocations: 0 / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005674/0.007557, allocations: 205 kB / 383.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.007597, allocations: 81.11 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.007719, allocations: 193.7 kB / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.007735, allocations: 29.7 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.007821, allocations: 179 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.007863, allocations: 59.48 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.007922, allocations: 55.16 kB / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.008076, allocations: 0.4923 MB / 384.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.377e-05/0.00813, allocations: 23.98 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.963e-05/0.00823, allocations: 114.3 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.008399, allocations: 156.7 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.008401, allocations: 0 / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000307/0.008708, allocations: 208.8 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.008726, allocations: 4 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.008735, allocations: 4 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/0.008963, allocations: 51.59 kB / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.009084, allocations: 39.92 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.0111, allocations: 3.757 MB / 388.8 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.197e-05/0.01118, allocations: 19.89 kB / 388.9 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.01119, allocations: 12 kB / 388.9 MB, free: 7.691 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.0001094/0.0113, allocations: 172.4 kB / 389 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.01135, allocations: 19.91 kB / 389.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.01137, allocations: 16.77 kB / 389.1 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.01138, allocations: 4 kB / 389.1 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.01138, allocations: 4.062 kB / 389.1 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01139, allocations: 0 / 389.1 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.0116, allocations: 168.5 kB / 389.2 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.0116, allocations: 0 / 389.2 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.01172, allocations: 31.92 kB / 389.3 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.01184, allocations: 43.36 kB / 389.3 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.01186, allocations: 11.98 kB / 389.3 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.01365, allocations: 3.761 MB / 393.1 MB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01366, allocations: 0 / 393.1 MB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.01401, allocations: 438.4 kB / 393.5 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.01402, allocations: 7.953 kB / 393.5 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.01403, allocations: 15.92 kB / 393.5 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.01412, allocations: 0 / 393.5 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.01416, allocations: 11.98 kB / 393.6 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.01416, allocations: 4 kB / 393.6 MB, free: 2.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.86e-05/0.01422, allocations: 145.6 kB / 393.7 MB, free: 2.535 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01422, allocations: 0 / 393.7 MB, free: 2.535 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004343/0.01466, allocations: 63.83 kB / 393.8 MB, free: 2.473 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.0001069/0.01476, allocations: 99.7 kB / 393.9 MB, free: 2.363 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004747/0.01524, allocations: 447.1 kB / 394.3 MB, free: 1.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01524, allocations: 0 / 394.3 MB, free: 1.887 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.01548, allocations: 399.8 kB / 394.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.01588, allocations: 38.53 kB / 394.7 MB, free: 1.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.01689, allocations: 0.5173 MB / 395.2 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.794e-05/0.01696, allocations: 79.97 kB / 395.3 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.433e-05/0.017, allocations: 9.5 kB / 395.3 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.01702, allocations: 12.5 kB / 395.3 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01703, allocations: 4 kB / 395.3 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of Templates: time 0.004592/0.02162, allocations: 2.106 MB / 397.5 MB, free: 14.68 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.4697124960366637]