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.001364/0.001364, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001474/0.001474, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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.425/1.425, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2312/0.2312, allocations: 46.96 MB / 361.6 MB, free: 4.035 MB / 286.1 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 0.002016/0.002016, allocations: 63.89 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3439, allocations: 66.03 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003197/0.3471, allocations: 1.789 MB / 0.5635 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003522/0.3475, allocations: 151.4 kB / 0.5637 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/0.3475, allocations: 0 / 0.5637 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.944e-05/0.3476, allocations: 23.73 kB / 0.5637 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.3477, allocations: 55.55 kB / 0.5638 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.3479, allocations: 35.95 kB / 0.5638 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.3481, allocations: 187.1 kB / 0.564 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.3482, allocations: 41.72 kB / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.3484, allocations: 71.78 kB / 0.5641 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.3485, allocations: 75.62 kB / 0.5642 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.3485, allocations: 16 kB / 0.5642 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.022e-05/0.3485, allocations: 12 kB / 0.5642 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.3486, allocations: 35.92 kB / 0.5642 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.798e-05/0.3487, allocations: 67.72 kB / 0.5643 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.3489, allocations: 185.6 kB / 0.5645 GB, free: 1.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3489, allocations: 0 / 0.5645 GB, free: 1.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3489, allocations: 4 kB / 0.5645 GB, free: 1.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3489, allocations: 0 / 0.5645 GB, free: 1.461 MB / 398.1 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.000567/0.3495, allocations: 385.9 kB / 0.5648 GB, free: 1.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3495, allocations: 8.031 kB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.3496, allocations: 20.84 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.3498, allocations: 142.3 kB / 0.565 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3498, allocations: 12.7 kB / 0.565 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.3498, allocations: 20.33 kB / 0.565 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.3501, allocations: 166.2 kB / 0.5652 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.3501, allocations: 8.125 kB / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.3502, allocations: 15.94 kB / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3502, allocations: 4 kB / 0.5652 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.3503, allocations: 87.92 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.3511, allocations: 0.4921 MB / 0.5658 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.3513, allocations: 129.1 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.189e-05/0.3514, allocations: 53.64 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.3514, allocations: 0 / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.3514, allocations: 38.56 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.3514, allocations: 4 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000735/0.3522, allocations: 219.2 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.3522, allocations: 81.05 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3523, allocations: 134.1 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3524, allocations: 29.7 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.589e-05/0.3524, allocations: 132.2 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.3525, allocations: 59.48 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.3526, allocations: 37.7 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3527, allocations: 322.8 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.9e-05/0.3528, allocations: 35.98 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.3529, allocations: 106.2 kB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.3531, allocations: 160.4 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3531, allocations: 0 / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003774/0.3535, allocations: 231.5 kB / 0.5675 GB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3535, allocations: 4.094 kB / 0.5675 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3535, allocations: 7.938 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002187/0.3537, allocations: 45.7 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.3538, allocations: 35.92 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.3561, allocations: 2.73 MB / 0.5702 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-05/0.3561, allocations: 19.83 kB / 0.5702 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3562, allocations: 8 kB / 0.5702 GB, free: 11.04 MB / 414.1 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.0001158/0.3563, allocations: 129.8 kB / 0.5704 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.3563, allocations: 15.91 kB / 0.5704 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.3564, allocations: 16.88 kB / 0.5704 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3564, allocations: 4 kB / 0.5704 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3564, allocations: 4 kB / 0.5704 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3564, allocations: 8.016 kB / 0.5704 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.3566, allocations: 157.2 kB / 0.5706 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3566, allocations: 3.984 kB / 0.5706 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.3568, allocations: 27.98 kB / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/0.3569, allocations: 49.62 kB / 0.5706 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3569, allocations: 4 kB / 0.5707 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.359, allocations: 2.726 MB / 0.5733 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.359, allocations: 0 / 0.5733 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.3594, allocations: 380.3 kB / 0.5737 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.3595, allocations: 12.11 kB / 0.5737 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.3595, allocations: 8.062 kB / 0.5737 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.3596, allocations: 4.125 kB / 0.5737 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.3596, allocations: 15.98 kB / 0.5737 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3596, allocations: 3.984 kB / 0.5737 GB, free: 7.215 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.367e-05/0.3597, allocations: 103.3 kB / 0.5738 GB, free: 7.113 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3597, allocations: 0 / 0.5738 GB, free: 7.113 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00043/0.3601, allocations: 51.89 kB / 0.5739 GB, free: 7.062 MB / 414.1 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.0001166/0.3602, allocations: 103.2 kB / 0.574 GB, free: 6.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005628/0.3608, allocations: 348.7 kB / 0.5743 GB, free: 6.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3608, allocations: 0 / 0.5743 GB, free: 6.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.3611, allocations: 281.5 kB / 0.5746 GB, free: 6.289 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.3616, allocations: 41.64 kB / 0.5746 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.3627, allocations: 0.6492 MB / 0.5752 GB, free: 5.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.3628, allocations: 112.1 kB / 0.5753 GB, free: 5.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.105e-05/0.3628, allocations: 13.42 kB / 0.5754 GB, free: 5.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.3629, allocations: 11.44 kB / 0.5754 GB, free: 5.418 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3629, allocations: 0 / 0.5754 GB, free: 5.418 MB / 414.1 MB Notification: Performance of Templates: time 0.005658/0.3685, allocations: 2.277 MB / 0.5776 GB, free: 3.176 MB / 414.1 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.932143799000187]