Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.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/ModelicaByExample 0.6.0/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) 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 ModelicaByExample with version 0.5.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/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(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1") translateModel(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 180.9 kB / 15.43 MB, free: 6.207 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.397/1.397, allocations: 225.7 MB / 241.9 MB, free: 392 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04003/0.04003, allocations: 8.469 MB / 301.4 MB, free: 5.641 MB / 234.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.0007452/0.0007452, allocations: 108.6 kB / 354.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003209, allocations: 9.391 kB / 417.2 MB, free: 89.47 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09429/0.09462, allocations: 52.13 MB / 469.3 MB, free: 42.16 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.002108/0.09679, allocations: 2.03 MB / 471.3 MB, free: 40.12 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008762/0.09769, allocations: 0.6833 MB / 472 MB, free: 39.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.09781, allocations: 4 kB / 472 MB, free: 39.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.09794, allocations: 27.78 kB / 472 MB, free: 39.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.09807, allocations: 67.47 kB / 472.1 MB, free: 39.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.09827, allocations: 55.94 kB / 472.2 MB, free: 39.26 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.09848, allocations: 282.8 kB / 472.4 MB, free: 38.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.09865, allocations: 89.88 kB / 472.5 MB, free: 38.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/0.09875, allocations: 95.58 kB / 472.6 MB, free: 38.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.09888, allocations: 115.5 kB / 472.7 MB, free: 38.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.09891, allocations: 12 kB / 472.7 MB, free: 38.67 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.304e-05/0.09895, allocations: 12 kB / 472.8 MB, free: 38.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.09899, allocations: 39.83 kB / 472.8 MB, free: 38.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.0991, allocations: 141 kB / 472.9 MB, free: 38.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.0993, allocations: 267.2 kB / 473.2 MB, free: 38.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.09931, allocations: 0 / 473.2 MB, free: 38.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.09932, allocations: 0 / 473.2 MB, free: 38.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.09934, allocations: 4 kB / 473.2 MB, free: 38.21 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007522/0.1001, allocations: 0.5398 MB / 473.7 MB, free: 37.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1001, allocations: 19.97 kB / 473.8 MB, free: 37.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.1002, allocations: 24.66 kB / 473.8 MB, free: 37.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.1004, allocations: 260.5 kB / 474 MB, free: 37.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.1004, allocations: 16.81 kB / 474 MB, free: 37.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.1005, allocations: 20.38 kB / 474.1 MB, free: 37.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.1009, allocations: 239.5 kB / 474.3 MB, free: 37.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.1009, allocations: 0 / 474.3 MB, free: 37.01 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.101, allocations: 15.94 kB / 474.3 MB, free: 36.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.101, allocations: 4 kB / 474.3 MB, free: 36.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004908/0.1015, allocations: 217.6 kB / 474.5 MB, free: 36.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008539/0.1023, allocations: 0.6739 MB / 475.2 MB, free: 36.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000671/0.103, allocations: 274.4 kB / 475.5 MB, free: 35.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.1033, allocations: 128.8 kB / 475.6 MB, free: 35.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.1033, allocations: 4 kB / 475.6 MB, free: 35.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003902/0.1037, allocations: 179.5 kB / 475.8 MB, free: 35.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 2.084e-06/0.1037, allocations: 0 / 475.8 MB, free: 35.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.002175/0.1059, allocations: 1.266 MB / 477 MB, free: 34.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.106, allocations: 55.41 kB / 477.1 MB, free: 34.03 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1061, allocations: 179.1 kB / 477.3 MB, free: 33.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1061, allocations: 33.7 kB / 477.3 MB, free: 33.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.1062, allocations: 140.7 kB / 477.4 MB, free: 33.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.1062, allocations: 114.3 kB / 477.6 MB, free: 33.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.1063, allocations: 8 kB / 477.6 MB, free: 33.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.1063, allocations: 334.8 kB / 477.9 MB, free: 33.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.1066, allocations: 108.2 kB / 478 MB, free: 33.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.1069, allocations: 155.2 kB / 478.1 MB, free: 32.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.1081, allocations: 0.5922 MB / 478.7 MB, free: 32.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1081, allocations: 4 kB / 478.7 MB, free: 32.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006452/0.1087, allocations: 382.4 kB / 479.1 MB, free: 31.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.1088, allocations: 37.64 kB / 479.2 MB, free: 31.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.1088, allocations: 64 / 479.2 MB, free: 31.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1088, allocations: 8 kB / 479.2 MB, free: 31.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.1091, allocations: 75.89 kB / 479.2 MB, free: 31.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.1091, allocations: 4 kB / 479.2 MB, free: 31.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.1093, allocations: 35.97 kB / 479.3 MB, free: 31.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.1094, allocations: 8 kB / 479.3 MB, free: 31.76 MB / 330.7 MB Warning: Assuming fixed start value for the following 4 variables: damper.w_rel:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "Relative angular velocity (= der(phi_rel))" type: Real damper.phi_rel:VARIABLE(start = 0.0 unit = "rad" fixed = true nominal = if damper.phi_nominal >= 1e-15 then damper.phi_nominal else 1.0 stateSelect=StateSelect.prefer ) "Relative rotation angle (= flange_b.phi - flange_a.phi)" type: Real springDamper.w_rel:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "Relative angular velocity (= der(phi_rel))" type: Real springDamper.phi_rel:VARIABLE(start = 0.0 unit = "rad" fixed = true nominal = if springDamper.phi_nominal >= 1e-15 then springDamper.phi_nominal else 1.0 stateSelect=StateSelect.prefer ) "Relative rotation angle (= flange_b.phi - flange_a.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$PRE.speedSensor.w,$PRE.trapezoid.T_start,$PRE.trapezoid.count,$whenCondition1,speedSensor.w,trapezoid.T_start,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * 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.0001966/0.1096, allocations: 169.5 kB / 479.4 MB, free: 31.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.1096, allocations: 27.66 kB / 479.5 MB, free: 31.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/0.1097, allocations: 34.64 kB / 479.5 MB, free: 31.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.1097, allocations: 0 / 479.5 MB, free: 31.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1097, allocations: 7.938 kB / 479.5 MB, free: 31.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1097, allocations: 0 / 479.5 MB, free: 31.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.1107, allocations: 0.8106 MB / 480.3 MB, free: 30.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.1108, allocations: 4 kB / 480.3 MB, free: 30.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.1111, allocations: 75.89 kB / 480.4 MB, free: 30.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1111, allocations: 0 / 480.4 MB, free: 30.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.1111, allocations: 11.98 kB / 480.4 MB, free: 30.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1111, allocations: 4 kB / 480.4 MB, free: 30.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1111, allocations: 4.062 kB / 480.4 MB, free: 30.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000896/0.112, allocations: 0.5704 MB / 481 MB, free: 29.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.1121, allocations: 92.83 kB / 481.1 MB, free: 29.85 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.1121, allocations: 8 kB / 481.1 MB, free: 29.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.1123, allocations: 27.97 kB / 481.1 MB, free: 29.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/0.1124, allocations: 31.91 kB / 481.2 MB, free: 29.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1124, allocations: 19.98 kB / 481.2 MB, free: 29.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.254e-05/0.1125, allocations: 127.2 kB / 481.3 MB, free: 29.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1125, allocations: 0 / 481.3 MB, free: 29.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000275/0.1128, allocations: 64 kB / 481.4 MB, free: 29.58 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (springDamper.phi_rel,springDamper.w_rel,damper.phi_rel,damper.w_rel) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,speedSensor.w,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001437/0.113, allocations: 119.1 kB / 481.5 MB, free: 29.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000668/0.1136, allocations: 343.2 kB / 481.8 MB, free: 29.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.1136, allocations: 4 kB / 481.8 MB, free: 29.1 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003033/0.114, allocations: 152 kB / 482 MB, free: 28.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.1144, allocations: 47.91 kB / 482 MB, free: 28.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.1166, allocations: 1.057 MB / 483.1 MB, free: 27.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.1168, allocations: 0.7561 MB / 483.8 MB, free: 27.03 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.748e-05/0.1169, allocations: 26.28 kB / 483.8 MB, free: 27.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.117, allocations: 19.44 kB / 483.9 MB, free: 26.99 MB / 330.7 MB Notification: Performance of SimCode: time 2.1e-07/0.117, allocations: 0 / 483.9 MB, free: 26.99 MB / 330.7 MB Notification: Performance of Templates: time 0.005076/0.1221, allocations: 2.691 MB / 486.6 MB, free: 24.32 MB / 330.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.makefile (rm -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe >> ../files/ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.sim & ./ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe 2>&1)