Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009872/0.0009872, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9963/0.9963, allocations: 173.3 MB / 201.1 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] 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.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.767e-05, allocations: 6.25 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003946/0.003974, allocations: 2.255 MB / 270.2 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005798/0.004554, allocations: 195.2 kB / 270.4 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.004668, allocations: 4 kB / 270.4 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.004769, allocations: 35.64 kB / 270.5 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.004974, allocations: 67.36 kB / 270.5 MB, free: 3.867 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.005199, allocations: 47.92 kB / 270.6 MB, free: 3.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.005484, allocations: 254.8 kB / 270.8 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.005702, allocations: 79 kB / 270.9 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.005909, allocations: 143.7 kB / 271 MB, free: 3.352 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.006068, allocations: 67.8 kB / 271.1 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.006112, allocations: 20 kB / 271.1 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.768e-05/0.00615, allocations: 20 kB / 271.1 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.0062, allocations: 55.77 kB / 271.2 MB, free: 3.191 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.428e-05/0.006294, allocations: 79.81 kB / 271.3 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.006567, allocations: 163.4 kB / 271.4 MB, free: 2.953 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.006571, allocations: 0 / 271.4 MB, free: 2.953 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006572, allocations: 4 kB / 271.4 MB, free: 2.949 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.006579, allocations: 0 / 271.4 MB, free: 2.949 MB / 250.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.0007725/0.007352, allocations: 0.5275 MB / 272 MB, free: 2.379 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.007403, allocations: 12.92 kB / 272 MB, free: 2.367 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.122e-05/0.007494, allocations: 44.73 kB / 272 MB, free: 2.324 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.007745, allocations: 172.2 kB / 272.2 MB, free: 2.129 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.007771, allocations: 20.88 kB / 272.2 MB, free: 2.109 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.007835, allocations: 20.38 kB / 272.2 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.008207, allocations: 199.4 kB / 272.4 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.008226, allocations: 4.141 kB / 272.4 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.008252, allocations: 12.38 kB / 272.4 MB, free: 1.855 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.008265, allocations: 4.375 kB / 272.5 MB, free: 1.852 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.00847, allocations: 91.31 kB / 272.5 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.009584, allocations: 0.9188 MB / 273.5 MB, free: 0.793 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.009802, allocations: 149.3 kB / 273.6 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.673e-05/0.009869, allocations: 55.05 kB / 273.7 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.009882, allocations: 4 kB / 273.7 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.009911, allocations: 45.33 kB / 273.7 MB, free: 496 kB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.009912, allocations: 0 / 273.7 MB, free: 496 kB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.00025/0.01016, allocations: 133.6 kB / 273.8 MB, free: 356 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.01021, allocations: 110.8 kB / 273.9 MB, free: 220 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.01035, allocations: 226.9 kB / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.01037, allocations: 33.7 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.01046, allocations: 206.9 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.0105, allocations: 71.42 kB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.01056, allocations: 51.64 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.01067, allocations: 0.4962 MB / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.251e-05/0.01073, allocations: 32.48 kB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.01084, allocations: 180 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.01102, allocations: 235.4 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01102, allocations: 0 / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002367/0.01126, allocations: 217.2 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.01128, allocations: 8 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01128, allocations: 0 / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.0113, allocations: 8 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.01143, allocations: 60.34 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.01144, allocations: 15.88 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.01151, allocations: 27.78 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.01152, allocations: 16 kB / 275.8 MB, free: 14.16 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 8.023e-05/0.0116, allocations: 168.5 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.01164, allocations: 23.84 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/0.01169, allocations: 25.45 kB / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01169, allocations: 0 / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.01169, allocations: 7.938 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.0117, allocations: 4 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.01201, allocations: 400.2 kB / 276.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.01201, allocations: 3.984 kB / 276.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.883e-05/0.01211, allocations: 35.98 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.01212, allocations: 7.938 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.01213, allocations: 4 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.01213, allocations: 4 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01213, allocations: 0 / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.0124, allocations: 441 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.01242, allocations: 19.78 kB / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.01243, allocations: 12.08 kB / 276.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.293e-05/0.0125, allocations: 4 kB / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.01252, allocations: 15.97 kB / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.01253, allocations: 8 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.31e-05/0.01259, allocations: 164.7 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01259, allocations: 0 / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.01282, allocations: 51.89 kB / 277.2 MB, free: 12.7 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 8.104e-05/0.0129, allocations: 99.25 kB / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.01308, allocations: 119.5 kB / 277.4 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01308, allocations: 0 / 277.4 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.75e-05/0.01313, allocations: 55.53 kB / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.01342, allocations: 32.7 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.01404, allocations: 0.52 MB / 278 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.212e-05/0.01409, allocations: 75.98 kB / 278.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.158e-05/0.01414, allocations: 21.62 kB / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.01418, allocations: 16.5 kB / 278.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01418, allocations: 0 / 278.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of Templates: time 0.003138/0.01731, allocations: 1.435 MB / 279.5 MB, free: 10.27 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9801211380399764]