Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 175 kB / 17.41 MB, free: 4.395 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.7 MB / 243.9 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007441/0.000744, allocations: 99.34 kB / 295 MB, free: 9.695 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3294/0.3294, allocations: 44.32 MB / 390.5 MB, free: 38.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003725, allocations: 12 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3464, allocations: 61.89 MB / 0.5127 GB, free: 38.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.001609/0.348, allocations: 1.518 MB / 0.5142 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002661/0.3483, allocations: 141.5 kB / 0.5143 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/0.3484, allocations: 6.781 kB / 0.5144 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.105e-05/0.3485, allocations: 17.44 kB / 0.5144 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.3486, allocations: 44.02 kB / 0.5144 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.3487, allocations: 36.88 kB / 0.5144 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.3489, allocations: 180.6 kB / 0.5146 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.3491, allocations: 46.23 kB / 0.5147 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.169e-05/0.3492, allocations: 54.42 kB / 0.5147 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.53e-05/0.3493, allocations: 69.78 kB / 0.5148 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.3493, allocations: 8.906 kB / 0.5148 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.45e-05/0.3493, allocations: 5.938 kB / 0.5148 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.3494, allocations: 20.95 kB / 0.5148 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.3494, allocations: 109.6 kB / 0.5149 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.3496, allocations: 174.1 kB / 0.5151 GB, free: 36.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.3496, allocations: 0 / 0.5151 GB, free: 36.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3496, allocations: 0 / 0.5151 GB, free: 36.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3496, allocations: 3.938 kB / 0.5151 GB, free: 36.58 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.0004598/0.3501, allocations: 424.1 kB / 0.5155 GB, free: 36.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3502, allocations: 10.5 kB / 0.5155 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.3502, allocations: 17.41 kB / 0.5155 GB, free: 36.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.3504, allocations: 213 kB / 0.5157 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3504, allocations: 12.8 kB / 0.5157 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.3504, allocations: 14.47 kB / 0.5158 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.3507, allocations: 163.4 kB / 0.5159 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.3507, allocations: 15.61 kB / 0.5159 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.3507, allocations: 11.94 kB / 0.5159 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3508, allocations: 3.938 kB / 0.5159 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.3509, allocations: 81.75 kB / 0.516 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/0.3516, allocations: 0.6123 MB / 0.5166 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.3518, allocations: 130.8 kB / 0.5167 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.454e-05/0.3519, allocations: 50.66 kB / 0.5168 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.3519, allocations: 5.938 kB / 0.5168 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.3519, allocations: 35.62 kB / 0.5168 GB, free: 35.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.3519, allocations: 1.094 kB / 0.5168 GB, free: 35.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007155/0.3526, allocations: 389.6 kB / 0.5172 GB, free: 34.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.3527, allocations: 82.14 kB / 0.5173 GB, free: 34.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/0.3528, allocations: 133.8 kB / 0.5174 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.3528, allocations: 25.7 kB / 0.5174 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.3528, allocations: 134.9 kB / 0.5176 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.3529, allocations: 51.88 kB / 0.5176 GB, free: 34.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.3529, allocations: 2.938 kB / 0.5176 GB, free: 34.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.353, allocations: 325 kB / 0.5179 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.402e-05/0.353, allocations: 36.11 kB / 0.518 GB, free: 34.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.154e-05/0.3531, allocations: 104.3 kB / 0.5181 GB, free: 34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.3533, allocations: 164.9 kB / 0.5182 GB, free: 33.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3533, allocations: 0 / 0.5182 GB, free: 33.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000291/0.3536, allocations: 217.8 kB / 0.5184 GB, free: 33.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3536, allocations: 11 kB / 0.5184 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3536, allocations: 2.969 kB / 0.5184 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.3538, allocations: 47.97 kB / 0.5185 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3539, allocations: 39.16 kB / 0.5185 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.3554, allocations: 2.728 MB / 0.5212 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-05/0.3554, allocations: 13.03 kB / 0.5212 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.3555, allocations: 11.73 kB / 0.5212 GB, free: 30.95 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 9.555e-05/0.3556, allocations: 137.4 kB / 0.5213 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.3556, allocations: 14.47 kB / 0.5213 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.3557, allocations: 15.67 kB / 0.5214 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3557, allocations: 2.594 kB / 0.5214 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3557, allocations: 1.031 kB / 0.5214 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3557, allocations: 1.938 kB / 0.5214 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.356, allocations: 236.9 kB / 0.5216 GB, free: 30.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.356, allocations: 1 kB / 0.5216 GB, free: 30.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.3561, allocations: 25.52 kB / 0.5216 GB, free: 30.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000127/0.3563, allocations: 50.7 kB / 0.5217 GB, free: 30.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.3563, allocations: 5.062 kB / 0.5217 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.3577, allocations: 2.71 MB / 0.5243 GB, free: 27.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3577, allocations: 4.922 kB / 0.5243 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.3581, allocations: 377.8 kB / 0.5247 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.3581, allocations: 91.61 kB / 0.5248 GB, free: 27.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.3581, allocations: 4.859 kB / 0.5248 GB, free: 27.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3582, allocations: 6.938 kB / 0.5248 GB, free: 27.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.3583, allocations: 19.36 kB / 0.5248 GB, free: 27.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.3583, allocations: 3.781 kB / 0.5248 GB, free: 27.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.054e-05/0.3584, allocations: 98.98 kB / 0.5249 GB, free: 27.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3584, allocations: 0 / 0.5249 GB, free: 27.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004226/0.3588, allocations: 55.88 kB / 0.525 GB, free: 27.29 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 9.851e-05/0.3589, allocations: 101.8 kB / 0.525 GB, free: 27.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004415/0.3593, allocations: 353.7 kB / 0.5254 GB, free: 26.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3594, allocations: 0 / 0.5254 GB, free: 26.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.3596, allocations: 286 kB / 0.5257 GB, free: 26.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.36, allocations: 37.53 kB / 0.5257 GB, free: 26.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009157/0.3609, allocations: 0.8066 MB / 0.5265 GB, free: 26.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.3611, allocations: 0.7222 MB / 0.5272 GB, free: 25.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.804e-05/0.3612, allocations: 11.12 kB / 0.5272 GB, free: 25.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.3612, allocations: 13.06 kB / 0.5272 GB, free: 25.35 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3612, allocations: 3.938 kB / 0.5272 GB, free: 25.35 MB / 378.7 MB Notification: Performance of Templates: time 0.00406/0.3653, allocations: 1.819 MB / 0.529 GB, free: 25.2 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/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