Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 101 kB / 17.59 MB, free: 5.422 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.001947/0.001947, allocations: 191.3 kB / 18.51 MB, free: 4.5 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.411/1.411, allocations: 222.9 MB / 242.2 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 43.91 kB / 301.3 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09899/0.1001, allocations: 49.44 MB / 350.7 MB, free: 4.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003133/0.1033, allocations: 1.635 MB / 352.4 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002954/0.1036, allocations: 75.77 kB / 352.4 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.943e-05/0.1037, allocations: 0 / 352.4 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.1039, allocations: 15.88 kB / 352.4 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.441e-05/0.1039, allocations: 15.84 kB / 352.5 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.1041, allocations: 15.98 kB / 352.5 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.1042, allocations: 67.67 kB / 352.5 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1043, allocations: 15.98 kB / 352.6 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.956e-05/0.1044, allocations: 23.94 kB / 352.6 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.1045, allocations: 27.84 kB / 352.6 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1045, allocations: 8 kB / 352.6 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.687e-05/0.1045, allocations: 4 kB / 352.6 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.1045, allocations: 15.98 kB / 352.6 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.1046, allocations: 23.88 kB / 352.7 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.1047, allocations: 68 kB / 352.7 MB, free: 2.434 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1047, allocations: 0 / 352.7 MB, free: 2.434 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1047, allocations: 0 / 352.7 MB, free: 2.434 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1047, allocations: 0 / 352.7 MB, free: 2.434 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004714/0.1052, allocations: 359.3 kB / 353.1 MB, free: 2.031 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1053, allocations: 16.03 kB / 353.1 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.1053, allocations: 4.938 kB / 353.1 MB, free: 2.012 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.1055, allocations: 188.1 kB / 353.3 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1055, allocations: 12.36 kB / 353.3 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.1056, allocations: 4.375 kB / 353.3 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1057, allocations: 73.33 kB / 353.4 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1057, allocations: 192 / 353.4 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1058, allocations: 3.938 kB / 353.4 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1058, allocations: 0 / 353.4 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.167e-05/0.1059, allocations: 39.92 kB / 353.4 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/0.1065, allocations: 383.5 kB / 353.8 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.1067, allocations: 56.05 kB / 353.8 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/0.1067, allocations: 24.8 kB / 353.9 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.1067, allocations: 4 kB / 353.9 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1068, allocations: 38.55 kB / 353.9 MB, free: 1.086 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1068, allocations: 0 / 353.9 MB, free: 1.086 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007845/0.1076, allocations: 0.5052 MB / 354.4 MB, free: 500 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.1076, allocations: 55.41 kB / 354.5 MB, free: 432 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.1077, allocations: 121.8 kB / 354.6 MB, free: 300 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1077, allocations: 29.7 kB / 354.6 MB, free: 264 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.1078, allocations: 92.05 kB / 354.7 MB, free: 168 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.1078, allocations: 35.55 kB / 354.7 MB, free: 132 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.1079, allocations: 21.72 kB / 354.8 MB, free: 104 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1081, allocations: 322.8 kB / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-05/0.1081, allocations: 19.98 kB / 355.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.1082, allocations: 61.14 kB / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.1083, allocations: 81.03 kB / 355.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1083, allocations: 4 kB / 355.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001635/0.1085, allocations: 113.6 kB / 355.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1085, allocations: 12.02 kB / 355.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1085, allocations: 0 / 355.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1085, allocations: 4 kB / 355.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.1086, allocations: 20 kB / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.1086, allocations: 11.86 kB / 355.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.228e-05/0.1087, allocations: 4 kB / 355.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.1087, allocations: 12 kB / 355.4 MB, free: 15.4 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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 7.879e-05/0.1088, allocations: 117.8 kB / 355.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.1088, allocations: 7.906 kB / 355.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.1089, allocations: 12.38 kB / 355.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1089, allocations: 0 / 355.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1089, allocations: 3.938 kB / 355.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1089, allocations: 480 / 355.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.1094, allocations: 414.6 kB / 356 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1094, allocations: 0 / 356 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.871e-05/0.1095, allocations: 23.92 kB / 356 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.1095, allocations: 4 kB / 356 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.1095, allocations: 3.938 kB / 356 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.1095, allocations: 4 kB / 356 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1096, allocations: 3.938 kB / 356 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1098, allocations: 239.7 kB / 356.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.1099, allocations: 85.05 kB / 356.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1099, allocations: 7.984 kB / 356.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.745e-05/0.11, allocations: 0 / 356.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.11, allocations: 12.06 kB / 356.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.11, allocations: 4 kB / 356.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.923e-05/0.1101, allocations: 91.27 kB / 356.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1101, allocations: 0 / 356.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1103, allocations: 20 kB / 356.4 MB, free: 14.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * 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.0001104/0.1104, allocations: 103.7 kB / 356.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.1106, allocations: 75.78 kB / 356.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1106, allocations: 8.188 kB / 356.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.604e-05/0.1106, allocations: 23.94 kB / 356.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.111, allocations: 11.98 kB / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.1117, allocations: 365.2 kB / 357 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.112, allocations: 0.6885 MB / 357.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.112, allocations: 15.44 kB / 357.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.112, allocations: 4.375 kB / 357.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of Templates: time 0.002552/0.1146, allocations: 0.9929 MB / 358.7 MB, free: 11.88 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches