Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001843/0.001843, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002258/0.002258, allocations: 209.3 kB / 23.73 MB, free: 4.379 MB / 14.72 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 55.91 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2445, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00288/0.2473, allocations: 1.636 MB / 432.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002902/0.2476, allocations: 67.78 kB / 432.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.194e-05/0.2477, allocations: 3.938 kB / 432.8 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.2478, allocations: 11.86 kB / 432.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.2479, allocations: 15.86 kB / 432.8 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.248, allocations: 19.97 kB / 432.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.2481, allocations: 63.73 kB / 432.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.2483, allocations: 15.98 kB / 432.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.329e-05/0.2483, allocations: 27.92 kB / 432.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.236e-05/0.2484, allocations: 23.86 kB / 432.9 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.2484, allocations: 4 kB / 433 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.2484, allocations: 4 kB / 433 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.2484, allocations: 19.92 kB / 433 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.2485, allocations: 15.94 kB / 433 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.2486, allocations: 69.41 kB / 433.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2486, allocations: 3.938 kB / 433.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2486, allocations: 0 / 433.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.2486, allocations: 4 kB / 433.1 MB, free: 4.621 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004946/0.2491, allocations: 290.2 kB / 433.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2492, allocations: 12.02 kB / 433.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.2492, allocations: 38.75 kB / 433.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.2493, allocations: 8.891 kB / 433.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.2495, allocations: 122.4 kB / 433.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2495, allocations: 4.375 kB / 433.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.2495, allocations: 8.375 kB / 433.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.2497, allocations: 70.17 kB / 433.6 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.2497, allocations: 11.88 kB / 433.6 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.2497, allocations: 7.984 kB / 433.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.2497, allocations: 4 kB / 433.6 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.006e-05/0.2498, allocations: 35.97 kB / 433.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006891/0.2505, allocations: 330.8 kB / 434 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.2506, allocations: 58.5 kB / 434 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.2507, allocations: 16.86 kB / 434.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.2507, allocations: 0 / 434.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.2507, allocations: 42.55 kB / 434.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.2507, allocations: 0 / 434.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006935/0.2514, allocations: 371.2 kB / 434.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.2514, allocations: 55.39 kB / 434.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.84e-05/0.2515, allocations: 125.7 kB / 434.6 MB, free: 2.824 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.2516, allocations: 25.7 kB / 434.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.2516, allocations: 92.05 kB / 434.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.2517, allocations: 35.73 kB / 434.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.2517, allocations: 21.72 kB / 434.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2519, allocations: 322.8 kB / 435.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.972e-05/0.2519, allocations: 23.98 kB / 435.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.252, allocations: 57.14 kB / 435.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.2521, allocations: 85.09 kB / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2521, allocations: 0 / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001815/0.2523, allocations: 117.5 kB / 435.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2523, allocations: 4 kB / 435.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2523, allocations: 0 / 435.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2524, allocations: 8.094 kB / 435.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.003e-05/0.2524, allocations: 23.94 kB / 435.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.2525, allocations: 7.922 kB / 435.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.976e-05/0.2525, allocations: 4 kB / 435.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.2525, allocations: 4 kB / 435.5 MB, free: 1.941 MB / 334.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.157e-05/0.2526, allocations: 121.8 kB / 435.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.2526, allocations: 7.953 kB / 435.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.2527, allocations: 8.516 kB / 435.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2527, allocations: 3.984 kB / 435.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2527, allocations: 7.938 kB / 435.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2527, allocations: 7.938 kB / 435.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.2532, allocations: 377.6 kB / 436 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2532, allocations: 0 / 436 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.47e-05/0.2533, allocations: 24.39 kB / 436 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2533, allocations: 0 / 436 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.2533, allocations: 8 kB / 436 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.2533, allocations: 0 / 436 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2533, allocations: 4 kB / 436 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.2536, allocations: 235.8 kB / 436.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.2536, allocations: 7.984 kB / 436.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2536, allocations: 8 kB / 436.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.2537, allocations: 0 / 436.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.2537, allocations: 11.92 kB / 436.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.2537, allocations: 4 kB / 436.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.369e-05/0.2538, allocations: 99.27 kB / 436.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2538, allocations: 0 / 436.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.2541, allocations: 12 kB / 436.4 MB, free: 0.8984 MB / 334.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 0.0005893/0.2547, allocations: 0.7635 MB / 437.1 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.2548, allocations: 71.84 kB / 437.2 MB, free: 24 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2548, allocations: 0 / 437.2 MB, free: 24 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.825e-05/0.2549, allocations: 23.94 kB / 437.2 MB, free: 0 / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.2553, allocations: 15.61 kB / 437.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.2571, allocations: 1.669 MB / 438.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.882e-05/0.2571, allocations: 83.2 kB / 439 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.046e-05/0.2572, allocations: 8.422 kB / 439 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.2572, allocations: 27.38 kB / 439 MB, free: 14.04 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2572, allocations: 0 / 439 MB, free: 14.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.2874, allocations: 2.474 MB / 441.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.31, allocations: 2.953 kB / 441.5 MB, free: 11.71 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 13.748644123988925]