Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 172.3 kB / 16.08 MB, free: 5.602 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.623/1.623, allocations: 205.6 MB / 222.4 MB, free: 13.67 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.0008249/0.0008249, allocations: 86.25 kB / 270.8 MB, free: 13.2 MB / 234.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.2368/0.2368, allocations: 43.68 MB / 362.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003334, allocations: 8 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1272, allocations: 58.87 MB / 491.2 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002071/0.1293, allocations: 1.513 MB / 492.7 MB, free: 6.602 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003371/0.1297, allocations: 155.5 kB / 492.8 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.1298, allocations: 4 kB / 492.8 MB, free: 6.445 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.071e-05/0.1298, allocations: 19.84 kB / 492.9 MB, free: 6.426 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.13, allocations: 47.61 kB / 492.9 MB, free: 6.379 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.1301, allocations: 27.98 kB / 492.9 MB, free: 6.352 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.1303, allocations: 167.2 kB / 493.1 MB, free: 6.188 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.1305, allocations: 49.78 kB / 493.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.429e-05/0.1306, allocations: 63.72 kB / 493.2 MB, free: 6.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.951e-05/0.1307, allocations: 67.64 kB / 493.3 MB, free: 6.004 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.1307, allocations: 12 kB / 493.3 MB, free: 5.992 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.616e-05/0.1307, allocations: 8 kB / 493.3 MB, free: 5.984 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.162e-05/0.1308, allocations: 31.91 kB / 493.3 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.911e-05/0.1309, allocations: 101.3 kB / 493.4 MB, free: 5.848 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1311, allocations: 167.6 kB / 493.6 MB, free: 5.684 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1311, allocations: 0 / 493.6 MB, free: 5.684 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1311, allocations: 0 / 493.6 MB, free: 5.684 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1311, allocations: 3.938 kB / 493.6 MB, free: 5.68 MB / 330.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.000522/0.1316, allocations: 431.3 kB / 494 MB, free: 5.207 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1317, allocations: 8.031 kB / 494 MB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/0.1317, allocations: 20.75 kB / 494 MB, free: 5.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.132, allocations: 204.1 kB / 494.2 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.132, allocations: 16.64 kB / 494.3 MB, free: 4.926 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.132, allocations: 16.38 kB / 494.3 MB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.1323, allocations: 170.1 kB / 494.4 MB, free: 4.734 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1323, allocations: 192 / 494.4 MB, free: 4.734 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1324, allocations: 11.94 kB / 494.4 MB, free: 4.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1324, allocations: 4 kB / 494.5 MB, free: 4.719 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.1325, allocations: 91.89 kB / 494.5 MB, free: 4.629 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007989/0.1333, allocations: 0.6189 MB / 495.2 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.1336, allocations: 133.1 kB / 495.3 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.94e-05/0.1337, allocations: 45.7 kB / 495.3 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.1337, allocations: 0 / 495.3 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.1337, allocations: 42.56 kB / 495.4 MB, free: 3.699 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 9.02e-07/0.1338, allocations: 0 / 495.4 MB, free: 3.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008162/0.1346, allocations: 385.3 kB / 495.8 MB, free: 3.273 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.1346, allocations: 77.11 kB / 495.8 MB, free: 3.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1348, allocations: 130.1 kB / 496 MB, free: 3.039 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.1348, allocations: 25.7 kB / 496 MB, free: 3.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1349, allocations: 132 kB / 496.1 MB, free: 2.875 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.135, allocations: 59.19 kB / 496.2 MB, free: 2.816 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.135, allocations: 8 kB / 496.2 MB, free: 2.809 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1352, allocations: 326.8 kB / 496.5 MB, free: 2.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.346e-05/0.1352, allocations: 31.98 kB / 496.5 MB, free: 2.449 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.1353, allocations: 100.6 kB / 496.6 MB, free: 2.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.1355, allocations: 156.8 kB / 496.8 MB, free: 2.137 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1356, allocations: 4 kB / 496.8 MB, free: 2.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003937/0.136, allocations: 222.8 kB / 497 MB, free: 1.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.136, allocations: 8 kB / 497 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.136, allocations: 4.188 kB / 497 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002296/0.1362, allocations: 53.69 kB / 497.1 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.1364, allocations: 35.92 kB / 497.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.1385, allocations: 2.724 MB / 499.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.1386, allocations: 15.84 kB / 499.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1386, allocations: 8 kB / 499.8 MB, free: 14.78 MB / 346.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.0001196/0.1387, allocations: 137.7 kB / 500 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.1388, allocations: 7.906 kB / 500 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.1388, allocations: 20.81 kB / 0.4883 GB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1388, allocations: 0 / 0.4883 GB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1389, allocations: 4 kB / 0.4883 GB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1389, allocations: 0 / 0.4883 GB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.1392, allocations: 237.4 kB / 0.4885 GB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1392, allocations: 4 kB / 0.4885 GB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.1393, allocations: 23.98 kB / 0.4885 GB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/0.1395, allocations: 45.78 kB / 0.4886 GB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.1395, allocations: 8 kB / 0.4886 GB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.1416, allocations: 2.72 MB / 0.4913 GB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1416, allocations: 0 / 0.4913 GB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.142, allocations: 368.4 kB / 0.4916 GB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.1421, allocations: 89.09 kB / 0.4917 GB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.1421, allocations: 8.062 kB / 0.4917 GB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1422, allocations: 7.922 kB / 0.4917 GB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.1423, allocations: 15.91 kB / 0.4917 GB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.1423, allocations: 12 kB / 0.4917 GB, free: 10.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.682e-05/0.1423, allocations: 95.27 kB / 0.4918 GB, free: 10.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1423, allocations: 0 / 0.4918 GB, free: 10.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004005/0.1428, allocations: 55.91 kB / 0.4919 GB, free: 10.57 MB / 346.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.0001206/0.1429, allocations: 107.2 kB / 0.492 GB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004998/0.1434, allocations: 345.6 kB / 0.4923 GB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1434, allocations: 0 / 0.4923 GB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.1437, allocations: 293.2 kB / 0.4926 GB, free: 9.777 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.1442, allocations: 27.16 kB / 0.4926 GB, free: 9.754 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1453, allocations: 0.8002 MB / 0.4934 GB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.1457, allocations: 0.7203 MB / 0.4941 GB, free: 8.184 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.901e-05/0.1457, allocations: 13.42 kB / 0.4941 GB, free: 8.172 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.1458, allocations: 11.44 kB / 0.4941 GB, free: 8.16 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1458, allocations: 4 kB / 0.4941 GB, free: 8.156 MB / 346.7 MB Notification: Performance of Templates: time 0.004557/0.1503, allocations: 1.814 MB / 0.4959 GB, free: 6.344 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches