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.001393/0.001393, allocations: 107.6 kB / 21.18 MB, free: 0.5859 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.00142/0.00142, allocations: 215.3 kB / 24.48 MB, free: 3.875 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.355/1.355, allocations: 207.7 MB / 235.3 MB, free: 9.785 MB / 190.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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) [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.001769/0.001769, allocations: 55.86 kB / 347.2 MB, free: 9.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2546, allocations: 49.15 MB / 396.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002391/0.257, allocations: 1.611 MB / 397.9 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002161/0.2572, allocations: 70.08 kB / 398 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.2573, allocations: 1.219 kB / 398 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.659e-05/0.2574, allocations: 6.703 kB / 398 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.723e-05/0.2574, allocations: 21.2 kB / 398 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001079/0.2575, allocations: 15.38 kB / 398.1 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.2576, allocations: 65.25 kB / 398.1 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2577, allocations: 18.45 kB / 398.1 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.813e-05/0.2578, allocations: 27.08 kB / 398.2 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.009e-05/0.2578, allocations: 28.72 kB / 398.2 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.2579, allocations: 4.594 kB / 398.2 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.574e-05/0.2579, allocations: 4.719 kB / 398.2 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.2579, allocations: 11.72 kB / 398.2 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.2579, allocations: 25.41 kB / 398.2 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.2581, allocations: 65.14 kB / 398.3 MB, free: 7.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2581, allocations: 0 / 398.3 MB, free: 7.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2581, allocations: 1 kB / 398.3 MB, free: 7.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.2581, allocations: 0 / 398.3 MB, free: 7.586 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.0003425/0.2584, allocations: 290.3 kB / 398.6 MB, free: 7.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2584, allocations: 17.95 kB / 398.6 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.728e-05/0.2585, allocations: 38.48 kB / 398.6 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.2585, allocations: 8.094 kB / 398.6 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.2587, allocations: 126.4 kB / 398.8 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.2587, allocations: 9.719 kB / 398.8 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.2587, allocations: 10.06 kB / 398.8 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.2588, allocations: 65.84 kB / 398.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2588, allocations: 5.312 kB / 398.9 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2589, allocations: 9.938 kB / 398.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2589, allocations: 1.344 kB / 398.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.281e-05/0.2589, allocations: 33.77 kB / 398.9 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.2594, allocations: 339.2 kB / 399.2 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.55e-05/0.2595, allocations: 52.75 kB / 399.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.2596, allocations: 17.19 kB / 399.3 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.2596, allocations: 1.344 kB / 399.3 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.229e-05/0.2596, allocations: 37.06 kB / 399.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2596, allocations: 1.406 kB / 399.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005596/0.2601, allocations: 373.2 kB / 399.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.2602, allocations: 53.94 kB / 399.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.795e-05/0.2602, allocations: 119.5 kB / 399.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.176e-06/0.2602, allocations: 31.77 kB / 399.9 MB, free: 6.109 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.2603, allocations: 100.9 kB / 400 MB, free: 6.012 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.2603, allocations: 29.75 kB / 400 MB, free: 5.988 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.2603, allocations: 28.05 kB / 400.1 MB, free: 5.965 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.676e-05/0.2604, allocations: 320 kB / 400.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.197e-05/0.2604, allocations: 15.8 kB / 400.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.983e-05/0.2604, allocations: 61.53 kB / 400.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.511e-05/0.2605, allocations: 96.64 kB / 400.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2605, allocations: 3.938 kB / 400.5 MB, free: 5.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001388/0.2607, allocations: 110 kB / 400.7 MB, free: 5.438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2607, allocations: 5.75 kB / 400.7 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2607, allocations: 1.125 kB / 400.7 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.2607, allocations: 2.312 kB / 400.7 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.2608, allocations: 26.8 kB / 400.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2608, allocations: 6.297 kB / 400.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.2608, allocations: 5.531 kB / 400.7 MB, free: 5.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.2608, allocations: 4.031 kB / 400.7 MB, free: 5.426 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 5.007e-05/0.2609, allocations: 120.4 kB / 400.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.2609, allocations: 10.8 kB / 400.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.2609, allocations: 10.44 kB / 400.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2609, allocations: 2.266 kB / 400.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.261, allocations: 5.031 kB / 400.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.261, allocations: 0 / 400.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.2613, allocations: 379.1 kB / 401.2 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2613, allocations: 2.219 kB / 401.2 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.325e-05/0.2614, allocations: 18.62 kB / 401.2 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2614, allocations: 1.812 kB / 401.2 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.2614, allocations: 3.781 kB / 401.2 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2614, allocations: 4.688 kB / 401.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2614, allocations: 2.266 kB / 401.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.2616, allocations: 238.1 kB / 401.5 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.2616, allocations: 11.92 kB / 401.5 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.2617, allocations: 4.312 kB / 401.5 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.638e-05/0.2617, allocations: 5.25 kB / 401.5 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.2617, allocations: 12.06 kB / 401.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.2617, allocations: 3.438 kB / 401.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.254e-05/0.2618, allocations: 94.06 kB / 401.6 MB, free: 4.617 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2618, allocations: 1.031 kB / 401.6 MB, free: 4.617 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.262, allocations: 17.66 kB / 401.6 MB, free: 4.613 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 0.0002879/0.2623, allocations: 0.7723 MB / 402.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.2624, allocations: 54.39 kB / 402.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2624, allocations: 3.938 kB / 402.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.562e-05/0.2625, allocations: 26.39 kB / 402.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.2628, allocations: 17.17 kB / 402.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.264, allocations: 1.664 MB / 404.2 MB, free: 2.293 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.426e-05/0.264, allocations: 80.56 kB / 404.2 MB, free: 2.219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.597e-05/0.2641, allocations: 6.438 kB / 404.3 MB, free: 2.219 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.2641, allocations: 26.03 kB / 404.3 MB, free: 2.199 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2641, allocations: 4 kB / 404.3 MB, free: 2.195 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1323/0.3964, allocations: 2.438 MB / 406.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.76, allocations: 5 kB / 406.7 MB, free: 1.113 MB / 318.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] 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: 14.123602559324354]