Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001954/0.001954, allocations: 170.8 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.6 MB / 222.4 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008133/0.0008133, allocations: 86.75 kB / 270.8 MB, free: 8.133 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3455/0.3455, allocations: 43.67 MB / 362.7 MB, free: 51.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003867, allocations: 15.94 kB / 432.3 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1181, allocations: 58.84 MB / 491.2 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001936/0.1201, allocations: 1.345 MB / 492.5 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003264/0.1205, allocations: 103.7 kB / 492.6 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.214e-05/0.1206, allocations: 7.938 kB / 492.6 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.1206, allocations: 7.922 kB / 492.6 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.1207, allocations: 31.77 kB / 492.6 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.1209, allocations: 23.98 kB / 492.7 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1211, allocations: 119.4 kB / 492.8 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.1212, allocations: 37.09 kB / 492.8 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.1213, allocations: 39.86 kB / 492.9 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.034e-05/0.1214, allocations: 43.78 kB / 492.9 MB, free: 8.055 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.1215, allocations: 4 kB / 492.9 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.598e-05/0.1215, allocations: 8 kB / 492.9 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.1215, allocations: 15.92 kB / 492.9 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.717e-05/0.1216, allocations: 81.44 kB / 493 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.1218, allocations: 119.8 kB / 493.1 MB, free: 7.824 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1218, allocations: 0 / 493.1 MB, free: 7.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1218, allocations: 4 kB / 493.1 MB, free: 7.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1219, allocations: 7.938 kB / 493.1 MB, free: 7.812 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005581/0.1224, allocations: 375.5 kB / 493.5 MB, free: 7.391 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1225, allocations: 8.031 kB / 493.5 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.1225, allocations: 20.75 kB / 493.5 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1228, allocations: 192.2 kB / 493.7 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1228, allocations: 8.609 kB / 493.7 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.1228, allocations: 16.28 kB / 493.7 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.1231, allocations: 135.4 kB / 493.9 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1231, allocations: 192 / 493.9 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.1232, allocations: 11.94 kB / 493.9 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1232, allocations: 7.938 kB / 493.9 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1233, allocations: 59.91 kB / 494 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007619/0.1241, allocations: 0.5411 MB / 494.5 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.1242, allocations: 85.08 kB / 494.6 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/0.1243, allocations: 37.88 kB / 494.6 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.1243, allocations: 3.938 kB / 494.6 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1243, allocations: 38.5 kB / 494.7 MB, free: 6.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.1243, allocations: 4 kB / 494.7 MB, free: 6.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005637/0.1249, allocations: 301.4 kB / 495 MB, free: 5.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.1249, allocations: 81.09 kB / 495 MB, free: 5.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.837e-05/0.125, allocations: 117.8 kB / 495.2 MB, free: 5.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1251, allocations: 25.7 kB / 495.2 MB, free: 5.496 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.1251, allocations: 127.5 kB / 495.3 MB, free: 5.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.1252, allocations: 31.55 kB / 495.3 MB, free: 5.336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.1252, allocations: 0 / 495.3 MB, free: 5.336 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1253, allocations: 322.8 kB / 495.6 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.235e-05/0.1254, allocations: 24 kB / 495.7 MB, free: 4.988 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.157e-05/0.1255, allocations: 92.5 kB / 495.8 MB, free: 4.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.1256, allocations: 116.5 kB / 495.9 MB, free: 4.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1256, allocations: 0 / 495.9 MB, free: 4.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002688/0.1259, allocations: 167 kB / 496 MB, free: 4.547 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1259, allocations: 8 kB / 496 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1259, allocations: 0 / 496 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001854/0.1261, allocations: 45.64 kB / 496.1 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.743e-05/0.1262, allocations: 23.92 kB / 496.1 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.1281, allocations: 2.533 MB / 498.6 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.699e-05/0.1281, allocations: 15.84 kB / 498.7 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1282, allocations: 4 kB / 498.7 MB, free: 1.645 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 (14): * Single equations (assignments): 12 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.1283, allocations: 133.9 kB / 498.8 MB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.1283, allocations: 7.906 kB / 498.8 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.1284, allocations: 11.89 kB / 498.8 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1284, allocations: 7.938 kB / 498.8 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1284, allocations: 0 / 498.8 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1284, allocations: 3.938 kB / 498.8 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.1287, allocations: 209.5 kB / 499 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1287, allocations: 0 / 499 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/0.1287, allocations: 16 kB / 499 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.172e-05/0.1288, allocations: 41.64 kB / 499.1 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1289, allocations: 4 kB / 499.1 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2135/0.3423, allocations: 2.527 MB / 0.4899 GB, free: 41.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3424, allocations: 1.312 kB / 0.4899 GB, free: 41.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.3427, allocations: 308.1 kB / 0.4902 GB, free: 40.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.3428, allocations: 83.27 kB / 0.4902 GB, free: 40.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.3428, allocations: 2.281 kB / 0.4902 GB, free: 40.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.3429, allocations: 2.562 kB / 0.4902 GB, free: 40.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.343, allocations: 8.906 kB / 0.4903 GB, free: 40.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.343, allocations: 2.281 kB / 0.4903 GB, free: 40.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.307e-05/0.343, allocations: 93.31 kB / 0.4903 GB, free: 40.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.343, allocations: 0.7188 kB / 0.4903 GB, free: 40.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004409/0.3435, allocations: 39.34 kB / 0.4904 GB, free: 40.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001089/0.3436, allocations: 111.7 kB / 0.4905 GB, free: 40.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004269/0.344, allocations: 303.5 kB / 0.4908 GB, free: 40.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.344, allocations: 0.8125 kB / 0.4908 GB, free: 40.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.3443, allocations: 250.2 kB / 0.491 GB, free: 40.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.3448, allocations: 20.81 kB / 0.491 GB, free: 40.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007679/0.3455, allocations: 0.5826 MB / 0.4916 GB, free: 39.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.3457, allocations: 0.7095 MB / 0.4923 GB, free: 39.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.049e-05/0.3458, allocations: 14.39 kB / 0.4923 GB, free: 39.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.3458, allocations: 11.62 kB / 0.4923 GB, free: 39.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3458, allocations: 0 / 0.4923 GB, free: 39.14 MB / 378.7 MB Notification: Performance of Templates: time 0.004244/0.3501, allocations: 1.444 MB / 0.4937 GB, free: 39.05 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches