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.001931/0.001931, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002207/0.002207, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001555/0.001555, allocations: 47.92 kB / 377.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2319, allocations: 53.37 MB / 431.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003043/0.2349, allocations: 1.629 MB / 432.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002599/0.2352, allocations: 67.78 kB / 432.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.988e-05/0.2353, allocations: 3.938 kB / 432.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.496e-05/0.2354, allocations: 11.86 kB / 432.8 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.2354, allocations: 15.86 kB / 432.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.2355, allocations: 15.98 kB / 432.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.2356, allocations: 63.72 kB / 432.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2358, allocations: 20 kB / 432.9 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.044e-05/0.2358, allocations: 27.91 kB / 432.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.2359, allocations: 23.86 kB / 432.9 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.2359, allocations: 4 kB / 432.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.2359, allocations: 4 kB / 433 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.2359, allocations: 15.92 kB / 433 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.236, allocations: 19.94 kB / 433 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.2361, allocations: 73.39 kB / 433.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2361, allocations: 0 / 433.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2361, allocations: 0 / 433.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.2361, allocations: 0 / 433.1 MB, free: 4.672 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.0004401/0.2366, allocations: 294.1 kB / 433.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2366, allocations: 8.031 kB / 433.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.2366, allocations: 42.73 kB / 433.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.2367, allocations: 8.891 kB / 433.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.2369, allocations: 122.4 kB / 433.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.2369, allocations: 8.375 kB / 433.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.2369, allocations: 4.375 kB / 433.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.2371, allocations: 74.17 kB / 433.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2371, allocations: 7.875 kB / 433.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.2371, allocations: 4 kB / 433.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.2371, allocations: 4 kB / 433.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.078e-05/0.2372, allocations: 35.98 kB / 433.7 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006373/0.2378, allocations: 334.7 kB / 434 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.2379, allocations: 58.5 kB / 434 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.238, allocations: 16.86 kB / 434.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.238, allocations: 0 / 434.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.238, allocations: 34.56 kB / 434.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.238, allocations: 0 / 434.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006856/0.2387, allocations: 379.2 kB / 434.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.2387, allocations: 51.41 kB / 434.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.2388, allocations: 117.8 kB / 434.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.2389, allocations: 33.69 kB / 434.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.2389, allocations: 92.05 kB / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.239, allocations: 35.67 kB / 434.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.239, allocations: 25.72 kB / 434.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2391, allocations: 322.8 kB / 435.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.104e-05/0.2392, allocations: 16 kB / 435.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.52e-05/0.2392, allocations: 57.14 kB / 435.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.2394, allocations: 93.06 kB / 435.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2394, allocations: 0 / 435.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001675/0.2395, allocations: 109.5 kB / 435.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2396, allocations: 6.656 kB / 435.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2396, allocations: 0 / 435.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2396, allocations: 4 kB / 435.4 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.2397, allocations: 32.02 kB / 435.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2397, allocations: 3.938 kB / 435.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.2397, allocations: 8 kB / 435.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2397, allocations: 4 kB / 435.5 MB, free: 1.992 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 8.703e-05/0.2398, allocations: 117.8 kB / 435.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.2398, allocations: 7.953 kB / 435.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.2399, allocations: 16.31 kB / 435.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2399, allocations: 0 / 435.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2399, allocations: 3.938 kB / 435.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2399, allocations: 7.938 kB / 435.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005012/0.2404, allocations: 377.6 kB / 436 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2404, allocations: 8.469 kB / 436 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.2405, allocations: 19.94 kB / 436 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2405, allocations: 0 / 436 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2405, allocations: 4 kB / 436 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2405, allocations: 0 / 436 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.2405, allocations: 11.92 kB / 436 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.2408, allocations: 231.8 kB / 436.2 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.2408, allocations: 11.97 kB / 436.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2408, allocations: 4 kB / 436.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.2409, allocations: 0 / 436.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.2409, allocations: 11.98 kB / 436.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.2409, allocations: 7.938 kB / 436.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.287e-05/0.241, allocations: 95.27 kB / 436.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.241, allocations: 0 / 436.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.2412, allocations: 16 kB / 436.4 MB, free: 0.9453 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.0005246/0.2417, allocations: 0.7636 MB / 437.2 MB, free: 144 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.2419, allocations: 64.23 kB / 437.2 MB, free: 80 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2419, allocations: 0 / 437.2 MB, free: 80 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.2419, allocations: 28.02 kB / 437.2 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.2422, allocations: 14.48 kB / 437.3 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.2439, allocations: 1.673 MB / 438.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.632e-05/0.244, allocations: 75.33 kB / 439 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.492e-05/0.2441, allocations: 4.438 kB / 439 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.2441, allocations: 27.36 kB / 439 MB, free: 14.1 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2441, allocations: 7.938 kB / 439 MB, free: 14.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.2734, allocations: 2.422 MB / 441.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.36, allocations: 10.45 kB / 441.5 MB, free: 11.79 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.864782463759184]