Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.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.001985/0.001985, allocations: 81.86 kB / 21.99 MB, free: 4.75 MB / 14.72 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.002273/0.002273, allocations: 157.8 kB / 25.24 MB, free: 2.742 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 158.6 MB / 187 MB, free: 6.34 MB / 174.1 MB " [Timeout remaining time 178] 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.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.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 55.92 kB / 299.3 MB, free: 6.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2348, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002863/0.2377, allocations: 1.606 MB / 350.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002457/0.2379, allocations: 67.72 kB / 350.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.238, allocations: 0 / 350.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.906e-05/0.2381, allocations: 11.92 kB / 350.2 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.016e-05/0.2381, allocations: 19.8 kB / 350.2 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001178/0.2383, allocations: 15.98 kB / 350.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.2384, allocations: 67.66 kB / 350.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2385, allocations: 19.98 kB / 350.3 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.018e-05/0.2386, allocations: 27.92 kB / 350.3 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.2386, allocations: 19.92 kB / 350.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.2387, allocations: 4 kB / 350.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.611e-05/0.2387, allocations: 4 kB / 350.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.2387, allocations: 15.92 kB / 350.4 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.2387, allocations: 23.88 kB / 350.4 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.2389, allocations: 67.44 kB / 350.4 MB, free: 13.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2389, allocations: 0 / 350.4 MB, free: 13.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2389, allocations: 0 / 350.4 MB, free: 13.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.2389, allocations: 0 / 350.4 MB, free: 13.57 MB / 318.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.0004426/0.2393, allocations: 293 kB / 350.7 MB, free: 13.26 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2393, allocations: 11.98 kB / 350.7 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.2394, allocations: 8.922 kB / 350.7 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.2396, allocations: 130.3 kB / 350.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.2396, allocations: 4.375 kB / 350.9 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.2396, allocations: 12.36 kB / 350.9 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.2398, allocations: 70.22 kB / 351 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.2398, allocations: 8.188 kB / 351 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.2398, allocations: 3.938 kB / 351 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2398, allocations: 0 / 351 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.179e-05/0.2399, allocations: 31.98 kB / 351 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.2405, allocations: 315.4 kB / 351.3 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.2406, allocations: 54.56 kB / 351.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.2406, allocations: 16.84 kB / 351.4 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.2406, allocations: 8 kB / 351.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.2406, allocations: 34.5 kB / 351.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.2406, allocations: 0 / 351.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006867/0.2413, allocations: 371.7 kB / 351.8 MB, free: 12.06 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.2414, allocations: 59.39 kB / 351.8 MB, free: 11.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.2415, allocations: 101.9 kB / 351.9 MB, free: 11.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.2415, allocations: 25.7 kB / 352 MB, free: 11.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.2416, allocations: 100 kB / 352.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.2416, allocations: 39.67 kB / 352.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.2416, allocations: 29.67 kB / 352.1 MB, free: 11.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2418, allocations: 322.8 kB / 352.5 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.2418, allocations: 16 kB / 352.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.461e-05/0.2419, allocations: 65.14 kB / 352.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.242, allocations: 89.02 kB / 352.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.242, allocations: 0 / 352.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001672/0.2422, allocations: 109.6 kB / 352.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.2422, allocations: 4 kB / 352.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2422, allocations: 4 kB / 352.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2422, allocations: 3.938 kB / 352.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.372e-05/0.2423, allocations: 24.12 kB / 352.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2423, allocations: 0 / 352.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.2423, allocations: 8 kB / 352.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.2424, allocations: 8.031 kB / 352.8 MB, free: 10.98 MB / 318.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 9.006e-05/0.2424, allocations: 125.7 kB / 352.9 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.2425, allocations: 11.94 kB / 352.9 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.2425, allocations: 12.47 kB / 352.9 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2425, allocations: 0 / 352.9 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.2425, allocations: 0 / 352.9 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2425, allocations: 4 kB / 352.9 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.243, allocations: 350.2 kB / 353.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.243, allocations: 0 / 353.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.402e-05/0.2431, allocations: 23.98 kB / 353.3 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.2431, allocations: 4 kB / 353.3 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.2431, allocations: 8.094 kB / 353.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.2431, allocations: 8 kB / 353.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2431, allocations: 0 / 353.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.2434, allocations: 231.7 kB / 353.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.2434, allocations: 11.89 kB / 353.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.2434, allocations: 7.938 kB / 353.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.2435, allocations: 4 kB / 353.6 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.2435, allocations: 7.984 kB / 353.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.2435, allocations: 4 kB / 353.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.125e-05/0.2435, allocations: 87.27 kB / 353.7 MB, free: 10 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2435, allocations: 64 / 353.7 MB, free: 10 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.2438, allocations: 20 kB / 353.7 MB, free: 9.984 MB / 318.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 8.665e-05/0.2439, allocations: 95.25 kB / 353.8 MB, free: 9.883 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.244, allocations: 59.84 kB / 353.8 MB, free: 9.824 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.244, allocations: 0 / 353.8 MB, free: 9.824 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.255e-05/0.2441, allocations: 27.94 kB / 353.9 MB, free: 9.797 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.2444, allocations: 20.42 kB / 353.9 MB, free: 9.777 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.245, allocations: 349.1 kB / 354.2 MB, free: 9.391 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.642e-05/0.245, allocations: 75.42 kB / 354.3 MB, free: 9.297 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.113e-05/0.2451, allocations: 12.38 kB / 354.3 MB, free: 9.285 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.2451, allocations: 12.5 kB / 354.3 MB, free: 9.273 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2451, allocations: 0 / 354.3 MB, free: 9.273 MB / 318.1 MB Notification: Performance of Templates: time 0.003076/0.2482, allocations: 0.615 MB / 354.9 MB, free: 8.66 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.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.199733744957484]