Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.00107/0.001071, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 52.56 kB / 301.3 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09814/0.09928, allocations: 49.43 MB / 350.7 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003849/0.1032, allocations: 2.263 MB / 353 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006334/0.1038, allocations: 195.3 kB / 353.2 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.104, allocations: 4 kB / 353.2 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.1042, allocations: 43.58 kB / 353.2 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.1045, allocations: 59.42 kB / 353.3 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.1047, allocations: 59.88 kB / 353.3 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.105, allocations: 235 kB / 353.6 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.1053, allocations: 106.6 kB / 353.7 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.1055, allocations: 87.66 kB / 353.8 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.1057, allocations: 107.5 kB / 353.9 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.1057, allocations: 20 kB / 353.9 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.377e-05/0.1058, allocations: 20 kB / 353.9 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.1058, allocations: 47.84 kB / 353.9 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.1059, allocations: 111.5 kB / 354.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.1062, allocations: 251.3 kB / 354.3 MB, free: 0.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1063, allocations: 4 kB / 354.3 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1063, allocations: 0 / 354.3 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.1063, allocations: 4 kB / 354.3 MB, free: 0.7422 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008131/0.1071, allocations: 0.5032 MB / 354.8 MB, free: 192 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1072, allocations: 8.031 kB / 354.8 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.1072, allocations: 24.66 kB / 354.8 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1075, allocations: 216 kB / 355.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.1075, allocations: 28.86 kB / 355.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.1076, allocations: 20.38 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.108, allocations: 228.9 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.108, allocations: 4.094 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.108, allocations: 15.94 kB / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.1081, allocations: 4 kB / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.1083, allocations: 135.9 kB / 355.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.1095, allocations: 0.8633 MB / 356.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.1098, allocations: 155.9 kB / 356.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1099, allocations: 62.56 kB / 356.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.1099, allocations: 4 kB / 356.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.1099, allocations: 42.44 kB / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.345e-06/0.1099, allocations: 0 / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003994/0.1103, allocations: 170.1 kB / 356.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.1104, allocations: 110.8 kB / 356.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.1106, allocations: 198.6 kB / 357.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1107, allocations: 29.7 kB / 357.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1108, allocations: 163.7 kB / 357.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.1108, allocations: 63.09 kB / 357.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.536e-05/0.1109, allocations: 49.91 kB / 357.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1111, allocations: 330.8 kB / 357.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.961e-05/0.1111, allocations: 48.55 kB / 357.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.1113, allocations: 163.5 kB / 357.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.1116, allocations: 225.5 kB / 358.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1116, allocations: 0 / 358.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003603/0.112, allocations: 237.1 kB / 358.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.112, allocations: 11.92 kB / 358.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.112, allocations: 4 kB / 358.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.112, allocations: 8 kB / 358.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.1122, allocations: 55.92 kB / 358.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.1123, allocations: 8.438 kB / 358.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.1124, allocations: 31.69 kB / 358.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.1124, allocations: 15.98 kB / 358.5 MB, free: 12.18 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.0001156/0.1126, allocations: 145.6 kB / 358.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/0.1127, allocations: 23.75 kB / 358.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.811e-05/0.1127, allocations: 21.41 kB / 358.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1127, allocations: 0 / 358.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1128, allocations: 4 kB / 358.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.1128, allocations: 7.984 kB / 358.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000552/0.1133, allocations: 420.9 kB / 359.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1133, allocations: 0 / 359.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.1135, allocations: 35.98 kB / 359.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.1136, allocations: 4 kB / 359.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.1136, allocations: 11.92 kB / 359.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1136, allocations: 4 kB / 359.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1136, allocations: 0 / 359.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.114, allocations: 373.1 kB / 359.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.1141, allocations: 104.7 kB / 359.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.1141, allocations: 4 kB / 359.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.1143, allocations: 8.031 kB / 359.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.1143, allocations: 19.92 kB / 359.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.1143, allocations: 7.984 kB / 359.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.1145, allocations: 140.3 kB / 359.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1145, allocations: 3.938 kB / 359.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003763/0.1148, allocations: 51.94 kB / 359.8 MB, free: 10.7 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * 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 (17): * Single equations (assignments): 17 * 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.0001398/0.115, allocations: 103.8 kB / 359.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.1153, allocations: 152 kB / 360.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1153, allocations: 0 / 360.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.955e-05/0.1154, allocations: 56.23 kB / 360.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.1159, allocations: 41.06 kB / 360.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.117, allocations: 0.6165 MB / 360.8 MB, free: 9.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.1174, allocations: 0.7397 MB / 361.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.1174, allocations: 19.44 kB / 361.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1174, allocations: 0 / 361.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of Templates: time 0.004622/0.1221, allocations: 2.281 MB / 363.8 MB, free: 6.625 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches