Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 97.42 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3308/0.3308, allocations: 43.49 MB / 360.7 MB, free: 51.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009904/0.0009905, allocations: 55.92 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1082, allocations: 57.78 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.2537/0.3619, allocations: 87.6 MB / 0.5611 GB, free: 7.441 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03628/0.3982, allocations: 16.79 MB / 0.5775 GB, free: 12.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01596/0.4142, allocations: 367.5 kB / 0.5779 GB, free: 12.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009786/0.4241, allocations: 5.235 MB / 0.583 GB, free: 9.746 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0079/0.432, allocations: 2.583 MB / 0.5855 GB, free: 8.543 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004512/0.4366, allocations: 1.096 MB / 0.5866 GB, free: 8.074 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01627/0.4529, allocations: 10.35 MB / 0.5967 GB, free: 4.273 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009494/0.4624, allocations: 6.561 MB / 0.6031 GB, free: 14.51 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005163/0.4676, allocations: 2.515 MB / 0.6056 GB, free: 11.98 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00665/0.4743, allocations: 4.257 MB / 0.6097 GB, free: 7.715 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001959/0.4763, allocations: 487.9 kB / 0.6102 GB, free: 7.238 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003596/0.4799, allocations: 1.225 MB / 0.6114 GB, free: 6.012 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004485/0.4844, allocations: 3.409 MB / 0.6147 GB, free: 2.594 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005552/0.49, allocations: 3.891 MB / 0.6185 GB, free: 14.68 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.5024, allocations: 11.67 MB / 0.6299 GB, free: 2.973 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5025, allocations: 4 kB / 0.6299 GB, free: 2.969 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5025, allocations: 0 / 0.6299 GB, free: 2.969 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003419/0.5028, allocations: 3.938 kB / 0.6299 GB, free: 2.965 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.01757/0.5204, allocations: 8.285 MB / 0.638 GB, free: 10.59 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.5205, allocations: 8.031 kB / 0.638 GB, free: 10.58 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.5309, allocations: 2.728 MB / 0.6407 GB, free: 7.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008396/0.5393, allocations: 3.951 MB / 0.6445 GB, free: 3.828 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004472/0.5398, allocations: 464.2 kB / 0.645 GB, free: 3.375 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001836/0.5417, allocations: 0.5894 MB / 0.6456 GB, free: 2.785 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04255/0.5842, allocations: 21.26 MB / 0.6663 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002706/0.5845, allocations: 71.25 kB / 0.6664 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001717/0.5863, allocations: 287.7 kB / 0.6667 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00543/0.5917, allocations: 3.545 MB / 0.6701 GB, free: 8.469 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03725/0.629, allocations: 17.26 MB / 0.687 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3884/1.017, allocations: 67.9 MB / 0.7533 GB, free: 104 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01725/1.035, allocations: 6.738 MB / 0.7599 GB, free: 102 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004586/1.039, allocations: 2.321 MB / 0.7621 GB, free: 101.2 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01713/1.057, allocations: 9.824 MB / 0.7717 GB, free: 96.23 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01295/1.07, allocations: 4.389 MB / 0.776 GB, free: 95.23 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=299): time 4.879e-06/1.07, allocations: 0 / 0.776 GB, free: 95.23 MB / 0.4949 GB Notification: Performance of matching and sorting (n=333): time 0.05195/1.121, allocations: 23 MB / 0.7985 GB, free: 80.06 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/1.122, allocations: 166.7 kB / 0.7986 GB, free: 79.87 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005793/1.127, allocations: 6.051 MB / 0.8045 GB, free: 73.8 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0003726/1.128, allocations: 77.7 kB / 0.8046 GB, free: 73.72 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00258/1.13, allocations: 5.301 MB / 0.8098 GB, free: 68.42 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008628/1.131, allocations: 1.261 MB / 0.811 GB, free: 67.16 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001746/1.133, allocations: 1.94 MB / 0.8129 GB, free: 65.21 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 3.571e-05/1.133, allocations: 305.1 kB / 0.8132 GB, free: 64.91 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003699/1.137, allocations: 2.889 MB / 0.816 GB, free: 62.01 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005563/1.142, allocations: 8.711 MB / 0.8245 GB, free: 50.43 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/1.153, allocations: 12.61 MB / 0.8368 GB, free: 34.91 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/1.153, allocations: 60 kB / 0.8369 GB, free: 34.85 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01617/1.169, allocations: 11.37 MB / 0.848 GB, free: 23.43 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/1.169, allocations: 120.4 kB / 0.8481 GB, free: 23.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001561/1.17, allocations: 207.9 kB / 0.8483 GB, free: 23.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/1.17, allocations: 276 kB / 0.8486 GB, free: 22.83 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006456/1.176, allocations: 2.371 MB / 0.8509 GB, free: 20.46 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002156/1.176, allocations: 410.4 kB / 0.8513 GB, free: 20.05 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00631/1.183, allocations: 487.4 kB / 0.8518 GB, free: 19.58 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00143/1.184, allocations: 0.5742 MB / 0.8523 GB, free: 19 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 77 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1271): * Single equations (assignments): 1267 * Array equations: 3 * 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.004534/1.189, allocations: 3.401 MB / 0.8556 GB, free: 15.59 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007148/1.189, allocations: 0.5515 MB / 0.8562 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005229/1.195, allocations: 3.52 MB / 0.8596 GB, free: 11.46 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-05/1.195, allocations: 35.98 kB / 0.8597 GB, free: 11.42 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/1.195, allocations: 4 kB / 0.8597 GB, free: 11.42 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/1.195, allocations: 15.94 kB / 0.8597 GB, free: 11.4 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01996/1.215, allocations: 13.76 MB / 0.8731 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-05/1.215, allocations: 32 kB / 0.8731 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/1.217, allocations: 0.6556 MB / 0.8738 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.555e-05/1.217, allocations: 48 kB / 0.8738 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/1.218, allocations: 99.98 kB / 0.8739 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.704e-05/1.218, allocations: 75.66 kB / 0.874 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.929e-05/1.218, allocations: 47.81 kB / 0.874 GB, free: 12.12 MB / 0.5105 GB Error: The model contains alias variables with conflicting fixed start values. It is necessary to resolve the conflicts, because otherwise the initial system is impossible to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2062/1.424, allocations: 14.82 MB / 0.8885 GB, free: 151 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002298/1.426, allocations: 0.8465 MB / 0.8893 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007708/1.427, allocations: 112.4 kB / 0.8894 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/1.429, allocations: 155.7 kB / 0.8896 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004207/1.43, allocations: 315.6 kB / 0.8899 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/1.43, allocations: 131.7 kB / 0.89 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006264/1.436, allocations: 3.765 MB / 0.8937 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.11e-07/1.436, allocations: 3.969 kB / 0.8937 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009447/1.446, allocations: 1.94 MB / 0.8956 GB, free: 150 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,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 (320): * Single equations (assignments): 315 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000902/1.447, allocations: 285.3 kB / 0.8959 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009219/1.456, allocations: 6.624 MB / 0.9023 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.279e-05/1.456, allocations: 6 kB / 0.9023 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002892/1.459, allocations: 1.886 MB / 0.9042 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004405/1.463, allocations: 0.7607 MB / 0.9049 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02557/1.489, allocations: 21.24 MB / 0.9257 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01044/1.499, allocations: 5.249 MB / 0.9308 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007574/1.507, allocations: 2.77 MB / 0.9335 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/1.508, allocations: 431.6 kB / 0.9339 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of SimCode: time 8.01e-07/1.508, allocations: 0 / 0.9339 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.08059/1.589, allocations: 53.26 MB / 0.9859 GB, free: 92.31 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches