Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001377/0.001377, allocations: 108.4 kB / 18.36 MB, free: 4.633 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.001545/0.001546, allocations: 191 kB / 19.29 MB, free: 3.703 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.362/1.362, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001334/0.001334, allocations: 47.94 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08766/0.08901, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.004189/0.09325, allocations: 2.235 MB / 331 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006938/0.09398, allocations: 203.2 kB / 331.2 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.0942, allocations: 4 kB / 331.2 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.0944, allocations: 39.64 kB / 331.2 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.09466, allocations: 71.3 kB / 331.3 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.0949, allocations: 47.94 kB / 331.3 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.09526, allocations: 242.9 kB / 331.6 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.09558, allocations: 106.6 kB / 331.7 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.09577, allocations: 87.7 kB / 331.7 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.09598, allocations: 107.5 kB / 331.9 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.982e-05/0.09603, allocations: 20 kB / 331.9 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.5e-05/0.09609, allocations: 20 kB / 331.9 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.09616, allocations: 47.84 kB / 331.9 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.09629, allocations: 111.5 kB / 332 MB, free: 424 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.09669, allocations: 259.1 kB / 332.3 MB, free: 164 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.09671, allocations: 3.938 kB / 332.3 MB, free: 160 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.09672, allocations: 0 / 332.3 MB, free: 160 kB / 270.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.09673, allocations: 0 / 332.3 MB, free: 160 kB / 270.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.0008348/0.09757, allocations: 0.5071 MB / 332.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.09762, allocations: 8.031 kB / 332.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.487e-05/0.09771, allocations: 24.66 kB / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.09795, allocations: 220 kB / 333.1 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.09798, allocations: 16.94 kB / 333.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.09804, allocations: 28.36 kB / 333.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.09841, allocations: 228.8 kB / 333.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.09844, allocations: 4.188 kB / 333.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.09847, allocations: 15.94 kB / 333.3 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.09849, allocations: 4 kB / 333.3 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.09874, allocations: 135.8 kB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.1001, allocations: 0.8632 MB / 334.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.1003, allocations: 147.7 kB / 334.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.1005, allocations: 70.55 kB / 334.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.1005, allocations: 320 / 334.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1005, allocations: 46.48 kB / 334.6 MB, free: 13.64 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 3.106e-06/0.1005, allocations: 0 / 334.6 MB, free: 13.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004095/0.1009, allocations: 169.3 kB / 334.8 MB, free: 13.47 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.101, allocations: 106.8 kB / 334.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1012, allocations: 202.6 kB / 335.1 MB, free: 13.14 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.1013, allocations: 33.7 kB / 335.1 MB, free: 13.1 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/0.1013, allocations: 155.8 kB / 335.3 MB, free: 12.94 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.1014, allocations: 63.09 kB / 335.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/0.1015, allocations: 50 kB / 335.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1016, allocations: 330.8 kB / 335.7 MB, free: 12.49 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-05/0.1017, allocations: 44.55 kB / 335.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.1019, allocations: 164 kB / 335.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.1022, allocations: 217.5 kB / 336.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1022, allocations: 4 kB / 336.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003581/0.1025, allocations: 241.7 kB / 336.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1026, allocations: 15.92 kB / 336.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.1026, allocations: 8 kB / 336.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1026, allocations: 7.938 kB / 336.4 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.1028, allocations: 59.92 kB / 336.4 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.1028, allocations: 8 kB / 336.4 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.103, allocations: 28.17 kB / 336.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.103, allocations: 12 kB / 336.5 MB, free: 11.59 MB / 286.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.0001216/0.1031, allocations: 141.7 kB / 336.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.505e-05/0.1032, allocations: 19.75 kB / 336.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.1033, allocations: 21.41 kB / 336.7 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1033, allocations: 7.984 kB / 336.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.1033, allocations: 0 / 336.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1033, allocations: 4 kB / 336.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/0.1039, allocations: 428.8 kB / 337.1 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1039, allocations: 0 / 337.1 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.1041, allocations: 35.98 kB / 337.1 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1041, allocations: 3.984 kB / 337.1 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.1041, allocations: 8.188 kB / 337.1 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1041, allocations: 0 / 337.1 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1041, allocations: 7.938 kB / 337.1 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.1045, allocations: 377.2 kB / 337.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.1046, allocations: 96.92 kB / 337.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.1046, allocations: 8.031 kB / 337.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.1048, allocations: 7.938 kB / 337.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.1048, allocations: 23.86 kB / 337.6 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.1048, allocations: 4 kB / 337.6 MB, free: 10.3 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.105, allocations: 140.3 kB / 337.8 MB, free: 10.17 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.105, allocations: 0 / 337.8 MB, free: 10.17 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003689/0.1054, allocations: 55.84 kB / 337.8 MB, free: 10.11 MB / 286.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.0001261/0.1055, allocations: 103.2 kB / 337.9 MB, free: 10 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.1058, allocations: 147.3 kB / 338.1 MB, free: 9.863 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.1058, allocations: 4 kB / 338.1 MB, free: 9.859 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.449e-05/0.1059, allocations: 55.91 kB / 338.1 MB, free: 9.805 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.1064, allocations: 23.98 kB / 338.2 MB, free: 9.781 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009425/0.1073, allocations: 0.5957 MB / 338.8 MB, free: 9.145 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1077, allocations: 0.7359 MB / 339.5 MB, free: 8.379 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.571e-05/0.1077, allocations: 21.89 kB / 339.5 MB, free: 8.355 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.1078, allocations: 19.44 kB / 339.5 MB, free: 8.336 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1078, allocations: 0 / 339.5 MB, free: 8.336 MB / 286.1 MB Notification: Performance of Templates: time 0.004481/0.1123, allocations: 1.521 MB / 341.1 MB, free: 6.816 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches