Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009598/0.0009598, allocations: 83.58 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.001084/0.001084, 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 0.9825/0.9825, allocations: 177.1 MB / 205 MB, free: 5.234 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2505/0.2505, allocations: 34.26 MB / 295.7 MB, free: 0.7383 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.3e-05, allocations: 2.312 kB / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002445/0.002478, allocations: 1.904 MB / 379.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003131/0.002791, allocations: 147.5 kB / 380.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.002853, allocations: 8 kB / 380.1 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.774e-05/0.00291, allocations: 19.73 kB / 380.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.00303, allocations: 55.44 kB / 380.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.003168, allocations: 39.94 kB / 380.2 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.003318, allocations: 191 kB / 380.4 MB, free: 324 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.003455, allocations: 37.78 kB / 380.4 MB, free: 288 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.003596, allocations: 107.8 kB / 380.5 MB, free: 180 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.003705, allocations: 55.88 kB / 380.6 MB, free: 124 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.003736, allocations: 12 kB / 380.6 MB, free: 112 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.284e-05/0.003759, allocations: 20 kB / 380.6 MB, free: 92 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.003789, allocations: 35.84 kB / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.003858, allocations: 59.94 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.004041, allocations: 123.4 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.004044, allocations: 0 / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.004046, allocations: 0 / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.004053, allocations: 0 / 380.8 MB, free: 15.88 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.0005108/0.004563, allocations: 476.3 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.004602, allocations: 8.031 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.186e-05/0.004664, allocations: 40.83 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.004825, allocations: 152.4 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.00484, allocations: 8.703 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.004875, allocations: 24.36 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.005082, allocations: 139.8 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.005096, allocations: 8.141 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.005113, allocations: 12.36 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.005122, allocations: 4.375 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.931e-05/0.005211, allocations: 59.52 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/0.00589, allocations: 0.5801 MB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.006055, allocations: 126.1 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.111e-05/0.006106, allocations: 39.36 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.006117, allocations: 7.938 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.006142, allocations: 41.5 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.006144, allocations: 0 / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004841/0.006628, allocations: 204.8 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.006675, allocations: 85.09 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.006779, allocations: 193.8 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.006789, allocations: 25.7 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.006866, allocations: 175 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.006907, allocations: 71.41 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.006958, allocations: 47.22 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.007087, allocations: 0.4962 MB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.464e-05/0.007121, allocations: 19.98 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-05/0.007199, allocations: 123.6 kB / 383.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.007331, allocations: 148.7 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.007334, allocations: 4 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002331/0.007567, allocations: 196.7 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.007583, allocations: 11.94 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.007589, allocations: 0 / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/0.007765, allocations: 55.59 kB / 384.3 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.486e-05/0.00786, allocations: 31.98 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.009511, allocations: 3.772 MB / 388.1 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.009558, allocations: 15.89 kB / 388.2 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.009567, allocations: 8 kB / 388.2 MB, free: 7.926 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 8.691e-05/0.009653, allocations: 172.5 kB / 388.3 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.009684, allocations: 19.84 kB / 388.3 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.009704, allocations: 16.78 kB / 388.4 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.009706, allocations: 4 kB / 388.4 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.00971, allocations: 0 / 388.4 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.009714, allocations: 8.047 kB / 388.4 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.009866, allocations: 164.5 kB / 388.5 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.009867, allocations: 0 / 388.5 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.831e-05/0.009956, allocations: 27.98 kB / 388.6 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.01006, allocations: 47.34 kB / 388.6 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01007, allocations: 48 / 388.6 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.01155, allocations: 3.776 MB / 392.4 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01155, allocations: 0 / 392.4 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.01183, allocations: 446.3 kB / 392.8 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.01184, allocations: 12.11 kB / 392.8 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.01185, allocations: 11.94 kB / 392.8 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.247e-05/0.0119, allocations: 0 / 392.8 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.01194, allocations: 15.97 kB / 392.9 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.01194, allocations: 4 kB / 392.9 MB, free: 2.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.023e-05/0.01199, allocations: 142.4 kB / 393 MB, free: 2.758 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01199, allocations: 3.938 kB / 393 MB, free: 2.754 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004557/0.01245, allocations: 51.89 kB / 393.1 MB, free: 2.703 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.393e-05/0.01254, allocations: 103.2 kB / 393.2 MB, free: 2.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004544/0.013, allocations: 447.1 kB / 393.6 MB, free: 2.113 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.013, allocations: 0 / 393.6 MB, free: 2.113 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.0132, allocations: 396 kB / 394 MB, free: 1.688 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.01349, allocations: 37.53 kB / 394 MB, free: 1.656 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008178/0.01431, allocations: 0.5358 MB / 394.6 MB, free: 1.086 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.889e-05/0.01437, allocations: 75.98 kB / 394.6 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.599e-05/0.0144, allocations: 13.47 kB / 394.6 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.01443, allocations: 16.5 kB / 394.7 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01443, allocations: 0 / 394.7 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of Templates: time 0.003819/0.01825, allocations: 2.179 MB / 396.8 MB, free: 14.81 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.066096976865083]