Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 188.4 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 225.7 MB / 253.3 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 47.92 kB / 371.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2178, allocations: 52.18 MB / 423.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002939/0.2207, allocations: 1.624 MB / 425 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002598/0.221, allocations: 67.72 kB / 425 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.307e-05/0.221, allocations: 4 kB / 425 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.2211, allocations: 7.922 kB / 425 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.726e-05/0.2212, allocations: 19.8 kB / 425.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.2213, allocations: 19.97 kB / 425.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.2215, allocations: 67.67 kB / 425.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2216, allocations: 11.98 kB / 425.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/0.2216, allocations: 23.94 kB / 425.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.2217, allocations: 31.83 kB / 425.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.2217, allocations: 8 kB / 425.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.554e-05/0.2217, allocations: 4 kB / 425.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.2218, allocations: 8 kB / 425.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.2218, allocations: 31.86 kB / 425.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.222, allocations: 66.03 kB / 425.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.222, allocations: 0 / 425.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.222, allocations: 0 / 425.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.222, allocations: 0 / 425.3 MB, free: 12.41 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.0005168/0.2225, allocations: 290.1 kB / 425.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2225, allocations: 12.03 kB / 425.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.688e-05/0.2225, allocations: 4.188 kB / 425.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.2226, allocations: 38.75 kB / 425.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.2226, allocations: 8.891 kB / 425.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.2228, allocations: 126.4 kB / 425.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2228, allocations: 4.375 kB / 425.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.2229, allocations: 8.375 kB / 425.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.223, allocations: 73.92 kB / 425.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.223, allocations: 3.953 kB / 425.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.2231, allocations: 8 kB / 425.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2231, allocations: 0 / 425.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.2232, allocations: 35.97 kB / 425.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.2238, allocations: 334.7 kB / 426.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.2239, allocations: 54.56 kB / 426.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.224, allocations: 20.84 kB / 426.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.224, allocations: 0 / 426.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.224, allocations: 42.5 kB / 426.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.224, allocations: 0 / 426.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006903/0.2247, allocations: 371.2 kB / 426.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.2247, allocations: 55.34 kB / 426.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/0.2248, allocations: 121.8 kB / 426.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.2249, allocations: 25.7 kB / 426.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.2249, allocations: 96.09 kB / 427 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.225, allocations: 35.69 kB / 427.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.225, allocations: 29.7 kB / 427.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2251, allocations: 314.8 kB / 427.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.2252, allocations: 19.98 kB / 427.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.488e-05/0.2252, allocations: 61.14 kB / 427.5 MB, free: 10 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.2254, allocations: 89.02 kB / 427.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2254, allocations: 0 / 427.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001699/0.2255, allocations: 118 kB / 427.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2255, allocations: 4 kB / 427.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2256, allocations: 4 kB / 427.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2256, allocations: 0 / 427.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.2257, allocations: 27.92 kB / 427.7 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2257, allocations: 3.938 kB / 427.7 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.2257, allocations: 7.938 kB / 427.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2257, allocations: 4 kB / 427.7 MB, free: 9.723 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.396e-05/0.2258, allocations: 125.9 kB / 427.8 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.2258, allocations: 7.953 kB / 427.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.2259, allocations: 8.375 kB / 427.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2259, allocations: 7.938 kB / 427.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2259, allocations: 0 / 427.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2259, allocations: 3.984 kB / 427.9 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005518/0.2264, allocations: 373.7 kB / 428.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2264, allocations: 0 / 428.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.912e-05/0.2265, allocations: 20.14 kB / 428.3 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.2265, allocations: 8 kB / 428.3 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.2266, allocations: 4 kB / 428.3 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.2266, allocations: 4 kB / 428.3 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2266, allocations: 0 / 428.3 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.2268, allocations: 235.6 kB / 428.5 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.2268, allocations: 4 kB / 428.5 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.2269, allocations: 4 kB / 428.5 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.2269, allocations: 7.938 kB / 428.5 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.227, allocations: 8.172 kB / 428.5 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.227, allocations: 4 kB / 428.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.539e-05/0.227, allocations: 99.33 kB / 428.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.227, allocations: 0 / 428.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.2273, allocations: 15.94 kB / 428.6 MB, free: 8.688 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.0005303/0.2278, allocations: 0.7754 MB / 429.4 MB, free: 7.871 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.2279, allocations: 67.84 kB / 429.5 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2279, allocations: 0 / 429.5 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.023e-05/0.228, allocations: 28.31 kB / 429.5 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.2283, allocations: 14.48 kB / 429.5 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.23, allocations: 1.653 MB / 431.2 MB, free: 5.973 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.393e-05/0.2301, allocations: 83.19 kB / 431.3 MB, free: 5.871 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.517e-05/0.2301, allocations: 8.422 kB / 431.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.723e-05/0.2302, allocations: 23.42 kB / 431.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2302, allocations: 0 / 431.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.2535, allocations: 2.121 MB / 433.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.64, allocations: 7.438 kB / 433.4 MB, free: 3.863 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.875959774013609]