Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 113.2 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.00123, allocations: 188.2 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 51.94 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.104, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003588/0.1077, allocations: 2.409 MB / 377.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004612/0.1082, allocations: 239.1 kB / 377.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1083, allocations: 4 kB / 377.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.1085, allocations: 43.52 kB / 377.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.1086, allocations: 87.27 kB / 377.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.1088, allocations: 59.91 kB / 378 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.1091, allocations: 294.6 kB / 378.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.1093, allocations: 101.7 kB / 378.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1095, allocations: 107.6 kB / 378.5 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.1096, allocations: 123.5 kB / 378.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.1097, allocations: 24 kB / 378.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.523e-05/0.1097, allocations: 20 kB / 378.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.1098, allocations: 51.78 kB / 378.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.1099, allocations: 135.3 kB / 378.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.1102, allocations: 283 kB / 379.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1102, allocations: 0 / 379.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.1103, allocations: 0 / 379.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.1103, allocations: 3.938 kB / 379.1 MB, free: 0.6172 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007939/0.1111, allocations: 0.5497 MB / 379.6 MB, free: 16 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1111, allocations: 8.031 kB / 379.6 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2343/0.3454, allocations: 31.45 kB / 379.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.3459, allocations: 236.6 kB / 379.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.3459, allocations: 19.62 kB / 379.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.796e-05/0.346, allocations: 27.31 kB / 379.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/0.3465, allocations: 243.1 kB / 380.2 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.3465, allocations: 8.859 kB / 380.2 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.3466, allocations: 14.41 kB / 380.2 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.3466, allocations: 8.969 kB / 380.2 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.3469, allocations: 159.3 kB / 380.4 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.3481, allocations: 0.7945 MB / 381.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/0.3487, allocations: 290 kB / 381.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.3489, allocations: 131.5 kB / 381.6 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.3489, allocations: 7.656 kB / 381.6 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.349, allocations: 41.91 kB / 381.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.349, allocations: 0 / 381.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002671/0.3517, allocations: 1.948 MB / 383.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.3517, allocations: 112 kB / 383.7 MB, free: 10.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.352, allocations: 192.8 kB / 383.9 MB, free: 10.69 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.352, allocations: 30.77 kB / 383.9 MB, free: 10.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.3521, allocations: 139.1 kB / 384 MB, free: 10.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.3522, allocations: 163.6 kB / 384.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3523, allocations: 71.98 kB / 384.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3525, allocations: 341 kB / 384.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.3526, allocations: 91.5 kB / 384.7 MB, free: 10.01 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.3529, allocations: 155.7 kB / 384.8 MB, free: 9.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.3533, allocations: 276.4 kB / 385.1 MB, free: 9.746 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3533, allocations: 1.188 kB / 385.1 MB, free: 9.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005112/0.3538, allocations: 339.4 kB / 385.4 MB, free: 9.598 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.3538, allocations: 10 kB / 385.5 MB, free: 9.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.3538, allocations: 6.656 kB / 385.5 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.3539, allocations: 4.547 kB / 385.5 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.3543, allocations: 96.89 kB / 385.6 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.3543, allocations: 4.922 kB / 385.6 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3544, allocations: 7.281 kB / 385.6 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.3544, allocations: 14.09 kB / 385.6 MB, free: 9.57 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001314/0.3546, allocations: 152.8 kB / 385.7 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.65e-05/0.3547, allocations: 29.66 kB / 385.8 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.551e-05/0.3548, allocations: 41.03 kB / 385.8 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3548, allocations: 9.125 kB / 385.8 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.3548, allocations: 2.094 kB / 385.8 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3548, allocations: 4.609 kB / 385.8 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.3561, allocations: 1.055 MB / 386.9 MB, free: 8.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3561, allocations: 1.781 kB / 386.9 MB, free: 8.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.3565, allocations: 93.27 kB / 387 MB, free: 8.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.3565, allocations: 8.578 kB / 387 MB, free: 8.609 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.3565, allocations: 17.56 kB / 387 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.3565, allocations: 4.984 kB / 387 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3565, allocations: 4.094 kB / 387 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006292/0.3571, allocations: 0.7194 MB / 387.7 MB, free: 8.078 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.3572, allocations: 111.8 kB / 387.8 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.3573, allocations: 10.92 kB / 387.8 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.3575, allocations: 12.59 kB / 387.8 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.3575, allocations: 39.91 kB / 387.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.3576, allocations: 10.95 kB / 387.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.444e-05/0.3577, allocations: 147.2 kB / 388 MB, free: 7.832 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3577, allocations: 0 / 388 MB, free: 7.832 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004239/0.3581, allocations: 72.28 kB / 388.1 MB, free: 7.82 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_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 (45): * Single equations (assignments): 45 * 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 9.939e-05/0.3582, allocations: 118.9 kB / 388.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004318/0.3586, allocations: 264 kB / 388.5 MB, free: 7.637 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3586, allocations: 5.375 kB / 388.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.3588, allocations: 144.3 kB / 388.6 MB, free: 7.586 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006969/0.3595, allocations: 77.72 kB / 388.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.361, allocations: 0.8986 MB / 389.6 MB, free: 6.914 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.3613, allocations: 0.7722 MB / 390.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.3614, allocations: 39.14 kB / 390.4 MB, free: 6.188 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.183e-05/0.3615, allocations: 28.09 kB / 390.4 MB, free: 6.18 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3615, allocations: 0 / 390.4 MB, free: 6.18 MB / 318.1 MB Notification: Performance of Templates: time 0.007156/0.3686, allocations: 3.046 MB / 393.5 MB, free: 5.926 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches