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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 241.6 MB, free: 10.95 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 102.6 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3584/0.3584, allocations: 44.13 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 51.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3539, allocations: 60.81 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003337/0.3573, allocations: 1.893 MB / 0.5082 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000324/0.3576, allocations: 153 kB / 0.5084 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.405e-05/0.3577, allocations: 3.406 kB / 0.5084 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.088e-05/0.3578, allocations: 17.02 kB / 0.5084 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.358, allocations: 43.92 kB / 0.5084 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.3581, allocations: 31.02 kB / 0.5085 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.3584, allocations: 181.4 kB / 0.5087 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.3586, allocations: 49.36 kB / 0.5087 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.3587, allocations: 61.11 kB / 0.5088 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.3588, allocations: 70.05 kB / 0.5088 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.3588, allocations: 8.469 kB / 0.5088 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.043e-05/0.3589, allocations: 11 kB / 0.5088 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.3589, allocations: 29.22 kB / 0.5089 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.69e-05/0.359, allocations: 84.56 kB / 0.509 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.3592, allocations: 171.4 kB / 0.5091 GB, free: 36.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.3592, allocations: 3.281 kB / 0.5091 GB, free: 36.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3592, allocations: 0 / 0.5091 GB, free: 36.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3593, allocations: 0 / 0.5091 GB, free: 36.5 MB / 378.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.0005948/0.3599, allocations: 450.6 kB / 0.5095 GB, free: 36.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3599, allocations: 8.531 kB / 0.5096 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.36, allocations: 17.5 kB / 0.5096 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.3602, allocations: 212.2 kB / 0.5098 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.3602, allocations: 17.92 kB / 0.5098 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.3602, allocations: 18.97 kB / 0.5098 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.3605, allocations: 166.2 kB / 0.51 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.3606, allocations: 4.094 kB / 0.51 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.3606, allocations: 14.66 kB / 0.51 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3606, allocations: 3.062 kB / 0.51 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.3608, allocations: 90.94 kB / 0.5101 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007028/0.3615, allocations: 0.6124 MB / 0.5107 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3617, allocations: 130.8 kB / 0.5108 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.595e-05/0.3618, allocations: 51.98 kB / 0.5108 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.3618, allocations: 4.125 kB / 0.5109 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3618, allocations: 36.53 kB / 0.5109 GB, free: 35.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.3618, allocations: 0 / 0.5109 GB, free: 35.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007267/0.3625, allocations: 379 kB / 0.5112 GB, free: 34.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.3626, allocations: 79.86 kB / 0.5113 GB, free: 34.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.3627, allocations: 134.8 kB / 0.5115 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.3627, allocations: 29.7 kB / 0.5115 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.3628, allocations: 130.9 kB / 0.5116 GB, free: 34.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.3628, allocations: 51.27 kB / 0.5117 GB, free: 34.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.3629, allocations: 40.17 kB / 0.5117 GB, free: 34.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.89e-05/0.3629, allocations: 322.2 kB / 0.512 GB, free: 34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.774e-05/0.363, allocations: 35.55 kB / 0.512 GB, free: 33.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.969e-05/0.3631, allocations: 111.4 kB / 0.5121 GB, free: 33.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.3633, allocations: 157.4 kB / 0.5123 GB, free: 33.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3633, allocations: 2.844 kB / 0.5123 GB, free: 33.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003161/0.3636, allocations: 225.7 kB / 0.5125 GB, free: 33.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3636, allocations: 6.062 kB / 0.5125 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3636, allocations: 6.688 kB / 0.5125 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002155/0.3638, allocations: 47.7 kB / 0.5126 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.364, allocations: 36.52 kB / 0.5126 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.3655, allocations: 2.732 MB / 0.5153 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-05/0.3656, allocations: 17.81 kB / 0.5153 GB, free: 30.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3656, allocations: 5.844 kB / 0.5153 GB, free: 30.83 MB / 378.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.0001091/0.3658, allocations: 142.3 kB / 0.5154 GB, free: 30.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.3658, allocations: 9.875 kB / 0.5154 GB, free: 30.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.3658, allocations: 19.16 kB / 0.5155 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3659, allocations: 0 / 0.5155 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3659, allocations: 2.938 kB / 0.5155 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3659, allocations: 0 / 0.5155 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.3661, allocations: 237.7 kB / 0.5157 GB, free: 30.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3661, allocations: 0 / 0.5157 GB, free: 30.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.3663, allocations: 30.09 kB / 0.5157 GB, free: 30.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001171/0.3664, allocations: 53.77 kB / 0.5158 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.3664, allocations: 6.281 kB / 0.5158 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.3677, allocations: 2.717 MB / 0.5184 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3677, allocations: 0 / 0.5184 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/0.3708, allocations: 4.612 MB / 0.5229 GB, free: 23.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.3709, allocations: 92.08 kB / 0.523 GB, free: 23.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.3709, allocations: 4.062 kB / 0.523 GB, free: 23.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.98e-05/0.371, allocations: 2.875 kB / 0.523 GB, free: 23.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.3711, allocations: 20.25 kB / 0.523 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.3711, allocations: 2.594 kB / 0.523 GB, free: 23.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.102e-05/0.3711, allocations: 95.12 kB / 0.5231 GB, free: 23.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3711, allocations: 0 / 0.5231 GB, free: 23.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005861/0.3717, allocations: 80 kB / 0.5232 GB, free: 23.16 MB / 378.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.0001201/0.3719, allocations: 101.2 kB / 0.5233 GB, free: 23.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005463/0.3724, allocations: 350.3 kB / 0.5236 GB, free: 22.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3724, allocations: 0.9688 kB / 0.5236 GB, free: 22.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.3727, allocations: 286.5 kB / 0.5239 GB, free: 22.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.3733, allocations: 31.56 kB / 0.5239 GB, free: 22.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.3746, allocations: 1.109 MB / 0.525 GB, free: 21.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.3748, allocations: 0.7348 MB / 0.5257 GB, free: 20.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.427e-05/0.3748, allocations: 13.78 kB / 0.5258 GB, free: 20.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.3749, allocations: 12.69 kB / 0.5258 GB, free: 20.88 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3749, allocations: 0 / 0.5258 GB, free: 20.88 MB / 378.7 MB Notification: Performance of Templates: time 0.005106/0.38, allocations: 2.42 MB / 0.5281 GB, free: 20.69 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches