Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 178.9 kB / 16.08 MB, free: 5.477 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.754/1.754, allocations: 205.6 MB / 222.4 MB, free: 13.66 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.0008051/0.0008053, allocations: 90.28 kB / 270.8 MB, free: 13.18 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.2164/0.2164, allocations: 43.68 MB / 362.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.000298, allocations: 8 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0939/0.09422, allocations: 58.86 MB / 491.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.002944/0.0972, allocations: 2.799 MB / 494 MB, free: 5.316 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.09856, allocations: 0.8116 MB / 494.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.09875, allocations: 11.94 kB / 494.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.09891, allocations: 55.56 kB / 494.8 MB, free: 4.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.0992, allocations: 150.8 kB / 495 MB, free: 4.281 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.09943, allocations: 83.92 kB / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004871/0.09993, allocations: 0.5792 MB / 495.6 MB, free: 3.617 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.1002, allocations: 141.8 kB / 495.8 MB, free: 3.477 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.1004, allocations: 191.2 kB / 496 MB, free: 3.289 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.1006, allocations: 218.9 kB / 496.2 MB, free: 3.074 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.35e-05/0.1006, allocations: 24 kB / 496.2 MB, free: 3.051 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.789e-05/0.1007, allocations: 24 kB / 496.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.1008, allocations: 79.62 kB / 496.3 MB, free: 2.949 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.101, allocations: 268.5 kB / 496.6 MB, free: 2.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.1014, allocations: 0.5214 MB / 497.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1014, allocations: 0 / 497.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1014, allocations: 0 / 497.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1014, allocations: 0 / 497.1 MB, free: 2.156 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0008323/0.1023, allocations: 0.6706 MB / 497.8 MB, free: 1.438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1023, allocations: 8.031 kB / 497.8 MB, free: 1.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/0.1024, allocations: 56.28 kB / 497.8 MB, free: 1.375 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.1027, allocations: 318.4 kB / 498.1 MB, free: 1.023 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.1028, allocations: 37.38 kB / 498.2 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.068e-05/0.1028, allocations: 52.28 kB / 498.2 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006337/0.1035, allocations: 434.9 kB / 498.7 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.1035, allocations: 19.84 kB / 498.7 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.1036, allocations: 20 kB / 498.7 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1036, allocations: 12 kB / 498.7 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.1041, allocations: 308.5 kB / 499 MB, free: 144 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.1055, allocations: 1.157 MB / 0.4884 GB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.1062, allocations: 493 kB / 0.4889 GB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.1065, allocations: 210.9 kB / 0.4891 GB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.1065, allocations: 8.438 kB / 0.4891 GB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1066, allocations: 38.98 kB / 0.4892 GB, free: 14.13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=62): time 2.906e-06/0.1066, allocations: 8.031 kB / 0.4892 GB, free: 14.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.002764/0.1093, allocations: 2.128 MB / 0.4912 GB, free: 11.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.1094, allocations: 89.61 kB / 0.4913 GB, free: 11.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.1097, allocations: 255 kB / 0.4916 GB, free: 11.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.1097, allocations: 41.7 kB / 0.4916 GB, free: 11.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.1098, allocations: 201 kB / 0.4918 GB, free: 11.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.11, allocations: 268.1 kB / 0.4921 GB, free: 10.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.11, allocations: 16 kB / 0.4921 GB, free: 10.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1102, allocations: 358.7 kB / 0.4924 GB, free: 10.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.1104, allocations: 161.9 kB / 0.4926 GB, free: 10.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.1107, allocations: 272.8 kB / 0.4928 GB, free: 10.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005814/0.1113, allocations: 471 kB / 0.4933 GB, free: 9.621 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1113, allocations: 0 / 0.4933 GB, free: 9.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008042/0.1121, allocations: 0.5513 MB / 0.4938 GB, free: 9.062 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.1122, allocations: 8 kB / 0.4938 GB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.1122, allocations: 4 kB / 0.4938 GB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1122, allocations: 7.938 kB / 0.4938 GB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.1128, allocations: 184 kB / 0.494 GB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.1128, allocations: 15.98 kB / 0.494 GB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.113, allocations: 23.98 kB / 0.494 GB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.1131, allocations: 27.94 kB / 0.4941 GB, free: 8.797 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.0001827/0.1133, allocations: 189.5 kB / 0.4943 GB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.1134, allocations: 43.44 kB / 0.4943 GB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.418e-05/0.1135, allocations: 59.7 kB / 0.4944 GB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.1135, allocations: 16 kB / 0.4944 GB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.1135, allocations: 0 / 0.4944 GB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1135, allocations: 3.984 kB / 0.4944 GB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.1153, allocations: 1.438 MB / 0.4958 GB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.1153, allocations: 4 kB / 0.4958 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006019/0.1159, allocations: 159.8 kB / 0.4959 GB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.1159, allocations: 4 kB / 0.4959 GB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.116, allocations: 19.94 kB / 0.496 GB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.116, allocations: 4 kB / 0.496 GB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.116, allocations: 8.281 kB / 0.496 GB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000953/0.117, allocations: 0.919 MB / 0.4969 GB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.052e-05/0.1171, allocations: 116.5 kB / 0.497 GB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.1171, allocations: 23.92 kB / 0.497 GB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.1174, allocations: 16 kB / 0.497 GB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.1174, allocations: 48.38 kB / 0.4971 GB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.1175, allocations: 24 kB / 0.4971 GB, free: 5.523 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.1176, allocations: 185.8 kB / 0.4973 GB, free: 5.344 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1176, allocations: 0 / 0.4973 GB, free: 5.344 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004416/0.1181, allocations: 144 kB / 0.4974 GB, free: 5.203 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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.0001345/0.1182, allocations: 135 kB / 0.4975 GB, free: 5.062 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005929/0.1188, allocations: 439.6 kB / 0.4979 GB, free: 4.633 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1188, allocations: 0 / 0.4979 GB, free: 4.633 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.1191, allocations: 239.1 kB / 0.4982 GB, free: 4.402 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009148/0.12, allocations: 121.1 kB / 0.4983 GB, free: 4.281 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.1226, allocations: 2.077 MB / 0.5003 GB, free: 2.137 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.123, allocations: 0.8449 MB / 0.5011 GB, free: 1.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001771/0.1231, allocations: 56.66 kB / 0.5012 GB, free: 1.215 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.1233, allocations: 43.44 kB / 0.5012 GB, free: 1.172 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1233, allocations: 0 / 0.5012 GB, free: 1.172 MB / 346.7 MB Notification: Performance of Templates: time 0.009456/0.1327, allocations: 5.007 MB / 0.5061 GB, free: 12.18 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches