Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 55.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2034, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003186/0.2066, allocations: 2.262 MB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004612/0.2071, allocations: 195.3 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.2072, allocations: 4 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.51e-05/0.2074, allocations: 39.64 kB / 412.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.2075, allocations: 67.36 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.2077, allocations: 55.86 kB / 412.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.208, allocations: 235 kB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.2082, allocations: 110.5 kB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.2083, allocations: 83.72 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.2085, allocations: 107.5 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.2085, allocations: 20 kB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.892e-05/0.2086, allocations: 20 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.2086, allocations: 51.83 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.2087, allocations: 111.5 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.209, allocations: 256.2 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.209, allocations: 0 / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.209, allocations: 0 / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.209, allocations: 0 / 413.5 MB, free: 13.96 MB / 334.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.0006958/0.2097, allocations: 0.5109 MB / 414 MB, free: 13.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2097, allocations: 8.031 kB / 414 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.759e-05/0.2098, allocations: 24.66 kB / 414.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.21, allocations: 220 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.21, allocations: 16.94 kB / 414.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.2101, allocations: 24.38 kB / 414.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/0.2105, allocations: 236.8 kB / 414.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2105, allocations: 4.188 kB / 414.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.2105, allocations: 15.94 kB / 414.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.2105, allocations: 7.938 kB / 414.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.2108, allocations: 135.9 kB / 414.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.2119, allocations: 0.8597 MB / 415.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.2121, allocations: 163.7 kB / 415.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.896e-05/0.2122, allocations: 62.56 kB / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.2123, allocations: 4 kB / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.2123, allocations: 38.48 kB / 415.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.2123, allocations: 0 / 415.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003599/0.2127, allocations: 165.7 kB / 416 MB, free: 11.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.2127, allocations: 114.7 kB / 416.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.2129, allocations: 195.2 kB / 416.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.2129, allocations: 33.7 kB / 416.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.213, allocations: 155.7 kB / 416.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.2131, allocations: 67.08 kB / 416.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.96e-05/0.2132, allocations: 53.98 kB / 416.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2133, allocations: 326.8 kB / 416.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.2134, allocations: 48.53 kB / 417 MB, free: 10.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2135, allocations: 152.2 kB / 417.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.2138, allocations: 221.5 kB / 417.3 MB, free: 9.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2138, allocations: 4 kB / 417.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003595/0.2142, allocations: 249.7 kB / 417.6 MB, free: 9.516 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2142, allocations: 14.28 kB / 417.6 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2142, allocations: 4 kB / 417.6 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2142, allocations: 4 kB / 417.6 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.2144, allocations: 63.84 kB / 417.7 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.2145, allocations: 8 kB / 417.7 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.2146, allocations: 28.12 kB / 417.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.2146, allocations: 16 kB / 417.7 MB, free: 9.383 MB / 334.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.0001133/0.2147, allocations: 133.8 kB / 417.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/0.2148, allocations: 19.75 kB / 417.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.2149, allocations: 29.39 kB / 417.9 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2149, allocations: 0 / 417.9 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2149, allocations: 0 / 417.9 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.215, allocations: 100.9 kB / 418 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.215, allocations: 7.984 kB / 418 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.2152, allocations: 8 kB / 418 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.2153, allocations: 15.92 kB / 418 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004249/0.2157, allocations: 383.2 kB / 418.4 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004078/0.2161, allocations: 0.5011 MB / 418.9 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.573e-05/0.2162, allocations: 55.95 kB / 418.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.959e-05/0.2163, allocations: 135.2 kB / 419.1 MB, free: 7.953 MB / 334.1 MB Notification: Performance of Backend: time 4.61e-07/0.2163, allocations: 3.938 kB / 419.1 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006128/0.2169, allocations: 186.7 kB / 419.3 MB, free: 7.762 MB / 334.1 MB Notification: Performance of SimCode: time 0.001128/0.2181, allocations: 1.018 MB / 420.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of Templates: time 0.00465/0.2227, allocations: 1.957 MB / 422.2 MB, free: 4.75 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches