Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.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.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 181.4 kB / 16.08 MB, free: 5.527 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.613/1.613, 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.0007185/0.0007185, allocations: 86.27 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.1977/0.1977, allocations: 43.68 MB / 362.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003373, allocations: 8 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1187, allocations: 58.86 MB / 491.2 MB, free: 8.125 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003509/0.1223, allocations: 2.604 MB / 493.8 MB, free: 5.504 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1236, allocations: 414.5 kB / 494.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003543/0.124, allocations: 8 kB / 494.2 MB, free: 5.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.1242, allocations: 47.62 kB / 494.2 MB, free: 5.043 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005238/0.1247, allocations: 142.8 kB / 494.4 MB, free: 4.902 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.125, allocations: 87.92 kB / 494.5 MB, free: 4.816 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006995/0.1257, allocations: 0.5169 MB / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003246/0.1261, allocations: 129.2 kB / 495.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003326/0.1264, allocations: 179.3 kB / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.1267, allocations: 195 kB / 495.5 MB, free: 3.801 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.1268, allocations: 24 kB / 495.5 MB, free: 3.777 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.134e-05/0.1269, allocations: 24 kB / 495.5 MB, free: 3.754 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.127, allocations: 79.62 kB / 495.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.1273, allocations: 256.6 kB / 495.8 MB, free: 3.418 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005297/0.1278, allocations: 0.4905 MB / 496.3 MB, free: 2.926 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.1278, allocations: 0 / 496.3 MB, free: 2.926 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1278, allocations: 0 / 496.3 MB, free: 2.926 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.259e-05/0.1279, allocations: 0 / 496.3 MB, free: 2.926 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001005/0.1289, allocations: 0.6333 MB / 497 MB, free: 2.242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1289, allocations: 16.03 kB / 497 MB, free: 2.227 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.1291, allocations: 52.36 kB / 497 MB, free: 2.176 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.1294, allocations: 295.4 kB / 497.3 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.1295, allocations: 37.38 kB / 497.4 MB, free: 1.809 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.015e-05/0.1296, allocations: 60.22 kB / 497.4 MB, free: 1.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007472/0.1303, allocations: 466.6 kB / 497.9 MB, free: 1.262 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.1304, allocations: 8.094 kB / 497.9 MB, free: 1.254 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.1304, allocations: 23.94 kB / 497.9 MB, free: 1.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.1305, allocations: 12 kB / 497.9 MB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.1309, allocations: 255.7 kB / 498.2 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.1333, allocations: 1.707 MB / 499.9 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.1338, allocations: 407.4 kB / 0.4885 GB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.134, allocations: 155.6 kB / 0.4887 GB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.134, allocations: 8 kB / 0.4887 GB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1341, allocations: 55.03 kB / 0.4888 GB, free: 14.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.125e-06/0.1341, allocations: 0 / 0.4888 GB, free: 14.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007087/0.1348, allocations: 353.8 kB / 0.4891 GB, free: 14.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.135, allocations: 272.9 kB / 0.4894 GB, free: 13.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.1352, allocations: 243.2 kB / 0.4896 GB, free: 13.51 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.1353, allocations: 33.7 kB / 0.4896 GB, free: 13.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1354, allocations: 243.6 kB / 0.4898 GB, free: 13.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.1356, allocations: 185.4 kB / 0.49 GB, free: 13.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.1356, allocations: 8 kB / 0.49 GB, free: 13.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1358, allocations: 350.8 kB / 0.4904 GB, free: 12.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.136, allocations: 117.9 kB / 0.4905 GB, free: 12.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.1364, allocations: 413.6 kB / 0.4909 GB, free: 12.03 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007072/0.1371, allocations: 0.5839 MB / 0.4914 GB, free: 11.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.1372, allocations: 0 / 0.4914 GB, free: 11.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008135/0.138, allocations: 0.5604 MB / 0.492 GB, free: 10.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.138, allocations: 11.98 kB / 0.492 GB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.138, allocations: 16.16 kB / 0.492 GB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.1381, allocations: 12 kB / 0.492 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.1386, allocations: 187.7 kB / 0.4922 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.1386, allocations: 15.94 kB / 0.4922 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.1389, allocations: 59.38 kB / 0.4923 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/0.139, allocations: 36 kB / 0.4923 GB, free: 10.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002018/0.1392, allocations: 181.5 kB / 0.4925 GB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.1394, allocations: 43.52 kB / 0.4925 GB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.924e-05/0.1395, allocations: 45.7 kB / 0.4926 GB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.1395, allocations: 11.94 kB / 0.4926 GB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1395, allocations: 0 / 0.4926 GB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1395, allocations: 4 kB / 0.4926 GB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/0.1405, allocations: 413.2 kB / 0.493 GB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1405, allocations: 0 / 0.493 GB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005423/0.1411, allocations: 127.8 kB / 0.4931 GB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.1411, allocations: 7.938 kB / 0.4931 GB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.1411, allocations: 12 kB / 0.4931 GB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.67e-05/0.1411, allocations: 16.05 kB / 0.4931 GB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1411, allocations: 4 kB / 0.4931 GB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008243/0.142, allocations: 1.074 MB / 0.4942 GB, free: 8.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-05/0.1421, allocations: 112.6 kB / 0.4943 GB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.1421, allocations: 16 kB / 0.4943 GB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.1425, allocations: 11.94 kB / 0.4943 GB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1426, allocations: 31.89 kB / 0.4944 GB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1426, allocations: 16 kB / 0.4944 GB, free: 8.207 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.1428, allocations: 170 kB / 0.4945 GB, free: 8.039 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1428, allocations: 0 / 0.4945 GB, free: 8.039 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007465/0.1435, allocations: 135.7 kB / 0.4947 GB, free: 7.906 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001811/0.1437, allocations: 123.1 kB / 0.4948 GB, free: 7.777 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005168/0.1442, allocations: 340 kB / 0.4951 GB, free: 7.445 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1442, allocations: 0 / 0.4951 GB, free: 7.445 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.1444, allocations: 129.4 kB / 0.4952 GB, free: 7.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.1455, allocations: 96.67 kB / 0.4953 GB, free: 7.227 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.1485, allocations: 2.467 MB / 0.4977 GB, free: 4.703 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.1489, allocations: 0.8317 MB / 0.4985 GB, free: 3.848 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.1491, allocations: 48.16 kB / 0.4986 GB, free: 3.801 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.1492, allocations: 31.44 kB / 0.4986 GB, free: 3.77 MB / 346.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1492, allocations: 0 / 0.4986 GB, free: 3.77 MB / 346.7 MB Notification: Performance of Templates: time 0.007665/0.1569, allocations: 3.885 MB / 0.5024 GB, free: 15.89 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches