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.001523/0.001523, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.004751/0.004751, allocations: 165.3 kB / 24.82 MB, free: 9.27 MB / 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.191/1.191, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.4294/0.4294, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 179] 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.274e-06/2.274e-06, allocations: 0 / 376.4 MB, free: 4.445 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.693e-05, allocations: 5.406 kB / 376.5 MB, free: 4.441 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002992/0.003029, allocations: 1.885 MB / 378.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005561/0.003585, allocations: 147.4 kB / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.003706, allocations: 4 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.066e-05/0.003787, allocations: 19.73 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.003984, allocations: 63.42 kB / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.004209, allocations: 35.94 kB / 378.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.004426, allocations: 191 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.004612, allocations: 41.78 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.004828, allocations: 111.8 kB / 378.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.00499, allocations: 51.88 kB / 379 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.005031, allocations: 12 kB / 379 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.015e-05/0.005061, allocations: 16 kB / 379 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.00511, allocations: 35.84 kB / 379.1 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.646e-05/0.005186, allocations: 59.89 kB / 379.1 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.005476, allocations: 119.5 kB / 379.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.005483, allocations: 0 / 379.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.005486, allocations: 0 / 379.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.005495, allocations: 3.938 kB / 379.2 MB, free: 1.645 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.0007073/0.006202, allocations: 480.3 kB / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.9e-05/0.006271, allocations: 16.02 kB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.156e-05/0.006353, allocations: 32.84 kB / 379.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007724/0.007125, allocations: 148.4 kB / 379.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.007142, allocations: 12.7 kB / 379.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.007185, allocations: 20.36 kB / 379.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.007408, allocations: 131.8 kB / 380.1 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.007428, allocations: 12.12 kB / 380.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.007443, allocations: 8.359 kB / 380.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.007453, allocations: 4.375 kB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.169e-05/0.007525, allocations: 46.52 kB / 380.1 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007456/0.00827, allocations: 0.5573 MB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.008475, allocations: 114 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.206e-05/0.008527, allocations: 35.36 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.008543, allocations: 7.984 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.008589, allocations: 41.33 kB / 380.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.414e-06/0.008591, allocations: 0 / 380.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005713/0.009162, allocations: 197.1 kB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.009221, allocations: 85.03 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.009359, allocations: 193.8 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.009376, allocations: 29.64 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.009483, allocations: 179 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.009523, allocations: 55.47 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.099e-05/0.009594, allocations: 59.2 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.00978, allocations: 0.4922 MB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.515e-05/0.009815, allocations: 15.98 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.812e-05/0.009914, allocations: 119.9 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.01008, allocations: 152.8 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.01008, allocations: 0 / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000312/0.01039, allocations: 184.7 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.01042, allocations: 8 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.01043, allocations: 0 / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002388/0.01067, allocations: 55.53 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.01079, allocations: 35.98 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.01334, allocations: 3.73 MB / 386.4 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.85e-05/0.01342, allocations: 19.83 kB / 386.5 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.01343, allocations: 4 kB / 386.5 MB, free: 9.848 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.0001344/0.01356, allocations: 168.5 kB / 386.6 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.01361, allocations: 23.84 kB / 386.6 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.01364, allocations: 16.77 kB / 386.7 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01364, allocations: 4 kB / 386.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.01365, allocations: 4.062 kB / 386.7 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01366, allocations: 0 / 386.7 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.01386, allocations: 137.2 kB / 386.8 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.01386, allocations: 3.938 kB / 386.8 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.01397, allocations: 20 kB / 386.8 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000594/0.01456, allocations: 43.34 kB / 386.9 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.01458, allocations: 11.94 kB / 386.9 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.0165, allocations: 3.722 MB / 390.6 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.0165, allocations: 0 / 390.6 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.01684, allocations: 432.8 kB / 391 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.01685, allocations: 11.94 kB / 391 MB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.01687, allocations: 4 kB / 391 MB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.545e-05/0.01693, allocations: 4 kB / 391 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.01697, allocations: 11.92 kB / 391.1 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.01698, allocations: 11.94 kB / 391.1 MB, free: 4.938 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.917e-05/0.01705, allocations: 138.5 kB / 391.2 MB, free: 4.805 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01705, allocations: 0 / 391.2 MB, free: 4.805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003585/0.01741, allocations: 55.89 kB / 391.3 MB, free: 4.75 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.0001507/0.01756, allocations: 103.2 kB / 391.4 MB, free: 4.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004561/0.01802, allocations: 447.1 kB / 391.8 MB, free: 4.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01802, allocations: 4 kB / 391.8 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.01824, allocations: 391.8 kB / 392.2 MB, free: 3.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.01856, allocations: 32.75 kB / 392.2 MB, free: 3.703 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.01959, allocations: 0.5213 MB / 392.7 MB, free: 3.145 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.856e-05/0.01967, allocations: 83.98 kB / 392.8 MB, free: 3.043 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.328e-05/0.01972, allocations: 5.5 kB / 392.8 MB, free: 3.035 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.662e-05/0.01981, allocations: 98.17 kB / 392.9 MB, free: 2.938 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/0.01981, allocations: 4 kB / 392.9 MB, free: 2.934 MB / 362.7 MB Notification: Performance of Templates: time 0.00563/0.02544, allocations: 2.24 MB / 395.2 MB, free: 0.7305 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.655956089962274]