Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 92.31 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002225/0.002225, allocations: 157.7 kB / 24.27 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.666e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003764/0.00379, allocations: 2.152 MB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006143/0.004405, allocations: 187.3 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.004542, allocations: 7.938 kB / 274.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.004644, allocations: 35.64 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.004852, allocations: 75.34 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.005056, allocations: 47.92 kB / 274.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.005353, allocations: 238.8 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.005563, allocations: 82.94 kB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.005777, allocations: 139.7 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.005932, allocations: 71.78 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/0.005985, allocations: 20 kB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.076e-05/0.006025, allocations: 24 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.685e-05/0.006082, allocations: 51.81 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.006193, allocations: 79.83 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.006544, allocations: 255.2 kB / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.006548, allocations: 0 / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.006549, allocations: 0 / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.006555, allocations: 4 kB / 275.8 MB, free: 14.36 MB / 266.7 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.0008257/0.007381, allocations: 445.8 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.00742, allocations: 8.031 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.472e-05/0.007514, allocations: 40.8 kB / 276.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.007756, allocations: 164.6 kB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.007784, allocations: 16.88 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.007836, allocations: 24.33 kB / 276.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.008269, allocations: 240 kB / 276.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.008285, allocations: 192 / 276.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.00831, allocations: 8.375 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.008323, allocations: 12.38 kB / 276.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.008581, allocations: 131.8 kB / 276.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.01003, allocations: 0.736 MB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.0103, allocations: 151.8 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.01041, allocations: 58.56 kB / 277.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.01043, allocations: 4 kB / 277.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.01046, allocations: 42.56 kB / 277.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.223e-06/0.01046, allocations: 0 / 277.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004343/0.0109, allocations: 169.7 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/0.01099, allocations: 110.8 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.01119, allocations: 175.2 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.01122, allocations: 25.7 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.01135, allocations: 168.2 kB / 278.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.01142, allocations: 75.34 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.413e-05/0.01151, allocations: 46 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.0117, allocations: 330.8 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.0118, allocations: 48.55 kB / 278.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.01201, allocations: 159.6 kB / 279.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.01233, allocations: 218.1 kB / 279.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.01233, allocations: 4 kB / 279.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004486/0.01278, allocations: 265.5 kB / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.0128, allocations: 8 kB / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01281, allocations: 0 / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.01283, allocations: 8 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.01306, allocations: 59.91 kB / 279.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.01307, allocations: 7.938 kB / 279.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.01321, allocations: 24.03 kB / 279.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.01323, allocations: 20 kB / 279.7 MB, free: 10.09 MB / 266.7 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.0001445/0.01338, allocations: 145.6 kB / 279.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.01346, allocations: 23.92 kB / 279.9 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.01351, allocations: 25.47 kB / 279.9 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01352, allocations: 4 kB / 279.9 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.01352, allocations: 3.938 kB / 279.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01353, allocations: 0 / 279.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.01407, allocations: 340.6 kB / 280.2 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01408, allocations: 0 / 280.2 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.01429, allocations: 43.92 kB / 280.3 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.01429, allocations: 7.938 kB / 280.3 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.01431, allocations: 0 / 280.3 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.01431, allocations: 8.094 kB / 280.3 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01431, allocations: 0 / 280.3 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004671/0.01478, allocations: 381.2 kB / 280.7 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.991e-05/0.01481, allocations: 15.84 kB / 280.7 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.01484, allocations: 4 kB / 280.7 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.01498, allocations: 8 kB / 280.7 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.01501, allocations: 7.984 kB / 280.7 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.01502, allocations: 8 kB / 280.7 MB, free: 9.004 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.01513, allocations: 128.9 kB / 280.8 MB, free: 8.879 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01513, allocations: 0 / 280.8 MB, free: 8.879 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003722/0.0155, allocations: 63.83 kB / 280.9 MB, free: 8.816 MB / 266.7 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.0001389/0.01564, allocations: 99.19 kB / 281 MB, free: 8.711 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.01591, allocations: 135.8 kB / 281.1 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01592, allocations: 0 / 281.1 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.214e-05/0.016, allocations: 44.8 kB / 281.2 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.01652, allocations: 41.3 kB / 281.2 MB, free: 8.496 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009542/0.01748, allocations: 0.5098 MB / 281.7 MB, free: 7.945 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.01763, allocations: 121.2 kB / 281.8 MB, free: 7.805 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.408e-05/0.01772, allocations: 17.64 kB / 281.8 MB, free: 7.785 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.01777, allocations: 16.5 kB / 281.9 MB, free: 7.77 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01777, allocations: 4 kB / 281.9 MB, free: 7.766 MB / 266.7 MB Notification: Performance of Templates: time 0.004669/0.02244, allocations: 1.428 MB / 283.3 MB, free: 6.371 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2086362150730565]