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.002321/0.002321, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002834/0.002834, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 8.047 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.001627/0.001627, allocations: 47.92 kB / 377.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2301, allocations: 53.36 MB / 431.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002928/0.233, allocations: 1.671 MB / 432.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002497/0.2333, allocations: 67.78 kB / 432.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.2334, allocations: 0 / 432.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.901e-05/0.2335, allocations: 19.86 kB / 432.9 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.851e-05/0.2335, allocations: 11.86 kB / 432.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.2336, allocations: 15.98 kB / 432.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.2337, allocations: 71.66 kB / 433 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.2338, allocations: 15.97 kB / 433 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.302e-05/0.2339, allocations: 23.94 kB / 433 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.2339, allocations: 23.86 kB / 433 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.234, allocations: 8 kB / 433 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.234, allocations: 4 kB / 433 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.234, allocations: 15.98 kB / 433.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.661e-05/0.234, allocations: 31.86 kB / 433.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.2342, allocations: 61.42 kB / 433.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2342, allocations: 0 / 433.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2342, allocations: 0 / 433.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.2342, allocations: 4 kB / 433.2 MB, free: 4.848 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.0004321/0.2346, allocations: 286.1 kB / 433.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.2347, allocations: 8.031 kB / 433.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/0.2347, allocations: 46.67 kB / 433.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.2347, allocations: 12.89 kB / 433.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.2349, allocations: 130.4 kB / 433.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2349, allocations: 4.375 kB / 433.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.235, allocations: 8.312 kB / 433.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.2351, allocations: 74.17 kB / 433.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.2351, allocations: 3.938 kB / 433.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2351, allocations: 4 kB / 433.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2352, allocations: 0 / 433.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.071e-05/0.2352, allocations: 39.97 kB / 433.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.2358, allocations: 342.7 kB / 434.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.236, allocations: 54.5 kB / 434.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.236, allocations: 16.86 kB / 434.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.236, allocations: 0 / 434.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.236, allocations: 38.56 kB / 434.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.236, allocations: 4 kB / 434.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006758/0.2367, allocations: 367.3 kB / 434.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.2367, allocations: 51.41 kB / 434.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2368, allocations: 117.8 kB / 434.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.2369, allocations: 25.7 kB / 434.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.2369, allocations: 104 kB / 434.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.237, allocations: 39.69 kB / 434.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.237, allocations: 21.72 kB / 434.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2371, allocations: 323.3 kB / 435.2 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.433e-05/0.2372, allocations: 16 kB / 435.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.2372, allocations: 60.52 kB / 435.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.2374, allocations: 93.08 kB / 435.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2374, allocations: 0 / 435.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001637/0.2375, allocations: 117.4 kB / 435.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2375, allocations: 4 kB / 435.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2375, allocations: 4.094 kB / 435.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2375, allocations: 4 kB / 435.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.2376, allocations: 27.92 kB / 435.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2376, allocations: 3.938 kB / 435.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.2377, allocations: 4 kB / 435.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.2377, allocations: 4 kB / 435.6 MB, free: 2.156 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.257e-05/0.2378, allocations: 121.8 kB / 435.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.2378, allocations: 15.88 kB / 435.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.2379, allocations: 8.375 kB / 435.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2379, allocations: 7.938 kB / 435.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2379, allocations: 3.938 kB / 435.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2379, allocations: 0 / 435.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.2384, allocations: 385.6 kB / 436.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2384, allocations: 4.156 kB / 436.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.55e-05/0.2384, allocations: 19.94 kB / 436.1 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.2384, allocations: 4 kB / 436.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.2385, allocations: 4 kB / 436.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.2385, allocations: 3.984 kB / 436.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2385, allocations: 0 / 436.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.2387, allocations: 235.7 kB / 436.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.2387, allocations: 7.984 kB / 436.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.2387, allocations: 4 kB / 436.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.633e-05/0.2388, allocations: 0 / 436.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.2388, allocations: 15.92 kB / 436.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.2388, allocations: 4 kB / 436.4 MB, free: 1.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.781e-05/0.2389, allocations: 95.42 kB / 436.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2389, allocations: 288 / 436.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.2391, allocations: 20 kB / 436.5 MB, free: 1.102 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.0005068/0.2396, allocations: 0.766 MB / 437.3 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.2398, allocations: 59.86 kB / 437.3 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2398, allocations: 4 kB / 437.3 MB, free: 240 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.949e-05/0.2398, allocations: 24.36 kB / 437.4 MB, free: 216 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.2401, allocations: 17.55 kB / 437.4 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.2418, allocations: 1.662 MB / 439 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.2421, allocations: 0.6962 MB / 439.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.262e-05/0.2421, allocations: 4.438 kB / 439.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.2422, allocations: 31.36 kB / 439.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2422, allocations: 0 / 439.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.2716, allocations: 2.073 MB / 441.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.13, allocations: 15.33 kB / 441.9 MB, free: 11.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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.449503913056105]