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.001292/0.001291, allocations: 102.9 kB / 17.58 MB, free: 5.414 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.001511/0.001511, allocations: 191.9 kB / 18.51 MB, free: 4.5 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.437/1.437, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.00132/0.00132, allocations: 51.94 kB / 280.6 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09123/0.09256, allocations: 46.63 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003818/0.09644, allocations: 2.235 MB / 329.5 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005373/0.097, allocations: 191.3 kB / 329.7 MB, free: 2.039 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.09718, allocations: 8 kB / 329.7 MB, free: 2.031 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.09734, allocations: 39.58 kB / 329.7 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.09754, allocations: 63.36 kB / 329.8 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.09774, allocations: 47.94 kB / 329.9 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.09805, allocations: 243 kB / 330.1 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.09831, allocations: 114.6 kB / 330.2 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.09847, allocations: 83.72 kB / 330.3 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.09864, allocations: 99.55 kB / 330.4 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.09869, allocations: 28 kB / 330.4 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.704e-05/0.09874, allocations: 20 kB / 330.4 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.063e-05/0.0988, allocations: 47.84 kB / 330.5 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.09894, allocations: 115.4 kB / 330.6 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.09924, allocations: 259.3 kB / 330.8 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.09925, allocations: 0 / 330.8 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.09926, allocations: 0 / 330.8 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.09928, allocations: 0 / 330.8 MB, free: 0.8906 MB / 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.0007696/0.1001, allocations: 0.5031 MB / 331.3 MB, free: 344 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1001, allocations: 12.03 kB / 331.4 MB, free: 332 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.594e-05/0.1002, allocations: 24.66 kB / 331.4 MB, free: 308 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1004, allocations: 220 kB / 331.6 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1005, allocations: 12.94 kB / 331.6 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.1005, allocations: 24.38 kB / 331.6 MB, free: 12 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.1009, allocations: 240.9 kB / 331.9 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.1009, allocations: 4.172 kB / 331.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.1009, allocations: 7.938 kB / 331.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.101, allocations: 8 kB / 331.9 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.1012, allocations: 135.8 kB / 332 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.1024, allocations: 0.8593 MB / 332.9 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.1027, allocations: 167.8 kB / 333 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1028, allocations: 62.56 kB / 333.1 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.1028, allocations: 4 kB / 333.1 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1029, allocations: 42.5 kB / 333.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.1029, allocations: 0 / 333.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004178/0.1033, allocations: 165.5 kB / 333.3 MB, free: 14.2 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.1034, allocations: 106.8 kB / 333.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.1036, allocations: 202.6 kB / 333.6 MB, free: 13.87 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.1036, allocations: 29.7 kB / 333.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1037, allocations: 159.8 kB / 333.8 MB, free: 13.67 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.1038, allocations: 63.09 kB / 333.9 MB, free: 13.61 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-05/0.1039, allocations: 49.98 kB / 333.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.104, allocations: 326.8 kB / 334.2 MB, free: 13.22 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.895e-05/0.1041, allocations: 44.55 kB / 334.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.1043, allocations: 171.9 kB / 334.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.1045, allocations: 217.5 kB / 334.6 MB, free: 12.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1046, allocations: 4 kB / 334.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003593/0.1049, allocations: 246 kB / 334.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.105, allocations: 11.94 kB / 334.9 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.105, allocations: 7.938 kB / 334.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.105, allocations: 4 kB / 334.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.1052, allocations: 59.86 kB / 335 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.1052, allocations: 7.984 kB / 335 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.1054, allocations: 31.75 kB / 335 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.1054, allocations: 8 kB / 335 MB, free: 12.32 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.0001305/0.1055, allocations: 145.9 kB / 335.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.678e-05/0.1056, allocations: 19.75 kB / 335.2 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.1057, allocations: 25.39 kB / 335.2 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1057, allocations: 4 kB / 335.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.1057, allocations: 4 kB / 335.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.1057, allocations: 4.188 kB / 335.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.1063, allocations: 424.8 kB / 335.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1063, allocations: 3.984 kB / 335.6 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.1065, allocations: 43.97 kB / 335.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.1065, allocations: 0 / 335.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.1066, allocations: 4 kB / 335.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1066, allocations: 0 / 335.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.1066, allocations: 4 kB / 335.7 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.1071, allocations: 377.1 kB / 336.1 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.333e-05/0.1071, allocations: 92.92 kB / 336.1 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.1072, allocations: 8.031 kB / 336.2 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1073, allocations: 4 kB / 336.2 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1074, allocations: 19.86 kB / 336.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.1074, allocations: 8 kB / 336.2 MB, free: 11.04 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1075, allocations: 144.3 kB / 336.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1075, allocations: 0 / 336.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003811/0.1079, allocations: 51.84 kB / 336.4 MB, free: 10.85 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.0001398/0.1081, allocations: 107.2 kB / 336.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.1084, allocations: 151.8 kB / 336.6 MB, free: 10.59 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1084, allocations: 8.062 kB / 336.6 MB, free: 10.58 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.1085, allocations: 51.92 kB / 336.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.1089, allocations: 27.92 kB / 336.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.11, allocations: 0.599 MB / 337.3 MB, free: 9.863 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.1103, allocations: 0.7359 MB / 338.1 MB, free: 9.098 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.681e-05/0.1104, allocations: 25.88 kB / 338.1 MB, free: 9.07 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.1105, allocations: 19.44 kB / 338.1 MB, free: 9.051 MB / 286.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1105, allocations: 0 / 338.1 MB, free: 9.051 MB / 286.1 MB Notification: Performance of Templates: time 0.004781/0.1153, allocations: 1.518 MB / 339.6 MB, free: 7.535 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/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