Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001981/0.001981, allocations: 92.2 kB / 20.21 MB, free: 4.199 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.002308/0.002308, allocations: 157.3 kB / 23.52 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2363/0.2363, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.401e-05, allocations: 2.312 kB / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003554/0.003588, allocations: 1.784 MB / 348.7 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004735/0.004061, allocations: 151.4 kB / 348.8 MB, free: 7.887 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.004163, allocations: 4 kB / 348.9 MB, free: 7.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.367e-05/0.004256, allocations: 23.8 kB / 348.9 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.004441, allocations: 55.48 kB / 348.9 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.004623, allocations: 43.81 kB / 349 MB, free: 7.762 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.004867, allocations: 195 kB / 349.2 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.005054, allocations: 37.78 kB / 349.2 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.005244, allocations: 111.8 kB / 349.3 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.005382, allocations: 51.81 kB / 349.4 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.005417, allocations: 12 kB / 349.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.669e-05/0.005454, allocations: 16 kB / 349.4 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.913e-05/0.005493, allocations: 35.91 kB / 349.4 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.067e-05/0.005584, allocations: 63.83 kB / 349.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.005852, allocations: 175.5 kB / 349.7 MB, free: 7.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.005856, allocations: 0 / 349.7 MB, free: 7.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005857, allocations: 0 / 349.7 MB, free: 7.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.005863, allocations: 0 / 349.7 MB, free: 7.078 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006731/0.006536, allocations: 385.9 kB / 350 MB, free: 6.664 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.006584, allocations: 8.031 kB / 350 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.182e-05/0.006676, allocations: 32.84 kB / 350.1 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.006889, allocations: 145.6 kB / 350.2 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.006912, allocations: 16.7 kB / 350.2 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.047e-05/0.006963, allocations: 12.38 kB / 350.2 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.007321, allocations: 170.1 kB / 350.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.007346, allocations: 8.141 kB / 350.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.00737, allocations: 8.312 kB / 350.4 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.007379, allocations: 4.375 kB / 350.4 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.007579, allocations: 91.83 kB / 350.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008911/0.00847, allocations: 0.4961 MB / 351 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.00873, allocations: 125.2 kB / 351.1 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.008832, allocations: 45.7 kB / 351.2 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.008856, allocations: 11.92 kB / 351.2 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.008885, allocations: 34.56 kB / 351.2 MB, free: 5.367 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.008886, allocations: 4 kB / 351.2 MB, free: 5.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009729/0.009859, allocations: 227.3 kB / 351.5 MB, free: 5.129 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.009895, allocations: 85.09 kB / 351.5 MB, free: 5.027 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.01003, allocations: 128.9 kB / 351.7 MB, free: 4.891 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.01004, allocations: 37.62 kB / 351.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.01011, allocations: 128.3 kB / 351.8 MB, free: 4.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.01016, allocations: 59.48 kB / 351.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.042e-05/0.01023, allocations: 37.7 kB / 351.9 MB, free: 4.617 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.839e-05/0.01031, allocations: 322.8 kB / 352.2 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.0104, allocations: 43.98 kB / 352.3 MB, free: 4.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.01052, allocations: 102.2 kB / 352.4 MB, free: 4.121 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.01074, allocations: 148.5 kB / 352.5 MB, free: 3.945 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01074, allocations: 0 / 352.5 MB, free: 3.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004758/0.01122, allocations: 239.2 kB / 352.8 MB, free: 3.699 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.01124, allocations: 8 kB / 352.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.01124, allocations: 0 / 352.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003317/0.01158, allocations: 57.94 kB / 352.8 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.01177, allocations: 35.92 kB / 352.9 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.01385, allocations: 2.734 MB / 355.6 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.01397, allocations: 16.11 kB / 355.6 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.01398, allocations: 16 kB / 355.6 MB, free: 0.6211 MB / 282.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.000114/0.0141, allocations: 133.7 kB / 355.7 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.849e-05/0.01418, allocations: 15.94 kB / 355.8 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.01421, allocations: 16.78 kB / 355.8 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01422, allocations: 0 / 355.8 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.01423, allocations: 4 kB / 355.8 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.01423, allocations: 3.938 kB / 355.8 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.01453, allocations: 165.1 kB / 355.9 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01453, allocations: 4 kB / 356 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.01476, allocations: 27.92 kB / 356 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/0.01493, allocations: 45.7 kB / 356 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.01495, allocations: 7.984 kB / 356 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003812/0.01876, allocations: 2.737 MB / 358.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.01876, allocations: 0 / 358.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.01947, allocations: 372.3 kB / 359.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.0195, allocations: 11.89 kB / 359.1 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.01954, allocations: 20.11 kB / 359.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.0197, allocations: 0 / 359.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.01976, allocations: 16.2 kB / 359.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.01977, allocations: 4 kB / 359.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.0199, allocations: 99.27 kB / 359.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0199, allocations: 3.938 kB / 359.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006627/0.02057, allocations: 55.89 kB / 359.3 MB, free: 12.62 MB / 298.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.0002036/0.02077, allocations: 99.23 kB / 359.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009343/0.0217, allocations: 345 kB / 359.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.02171, allocations: 0 / 359.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.02215, allocations: 285.1 kB / 360.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008206/0.02297, allocations: 36.06 kB / 360.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.02437, allocations: 0.5209 MB / 360.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.02459, allocations: 120.1 kB / 360.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.418e-05/0.02463, allocations: 9.484 kB / 360.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.02468, allocations: 16.5 kB / 360.8 MB, free: 11.1 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02468, allocations: 0 / 360.8 MB, free: 11.1 MB / 298.7 MB Notification: Performance of Templates: time 0.00648/0.03116, allocations: 2.074 MB / 362.8 MB, free: 9.062 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.925047519034706]