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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.001125, allocations: 97.45 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 195.8 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 241.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 56.2 kB / 300.1 MB, free: 5.953 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07829/0.07952, allocations: 49.45 MB / 349.5 MB, free: 4.496 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002342/0.0819, allocations: 1.678 MB / 351.2 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001768/0.08209, allocations: 67.78 kB / 351.3 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.08215, allocations: 3.938 kB / 351.3 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.13e-05/0.08224, allocations: 7.984 kB / 351.3 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.923e-05/0.08229, allocations: 11.86 kB / 351.3 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.08239, allocations: 19.97 kB / 351.3 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.95e-05/0.08249, allocations: 59.67 kB / 351.4 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.08259, allocations: 31.92 kB / 351.4 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.715e-05/0.08262, allocations: 19.94 kB / 351.4 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.08267, allocations: 23.92 kB / 351.4 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.08269, allocations: 4 kB / 351.4 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.589e-05/0.08271, allocations: 4 kB / 351.4 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.08273, allocations: 15.91 kB / 351.5 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.08278, allocations: 27.88 kB / 351.5 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.409e-05/0.08287, allocations: 67.94 kB / 351.5 MB, free: 2.441 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.08288, allocations: 0 / 351.5 MB, free: 2.441 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.08289, allocations: 4 kB / 351.6 MB, free: 2.438 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.08289, allocations: 0 / 351.6 MB, free: 2.438 MB / 286.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.0003717/0.08327, allocations: 367.3 kB / 351.9 MB, free: 2.027 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.08331, allocations: 8.031 kB / 351.9 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.08334, allocations: 42.67 kB / 352 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.08337, allocations: 8.844 kB / 352 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.08351, allocations: 180.3 kB / 352.1 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-06/0.08352, allocations: 384 / 352.1 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.08355, allocations: 16.38 kB / 352.2 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.08367, allocations: 62.23 kB / 352.2 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.08369, allocations: 7.938 kB / 352.2 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.08371, allocations: 4 kB / 352.2 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.08371, allocations: 0 / 352.2 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.08e-05/0.08379, allocations: 39.91 kB / 352.3 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.08432, allocations: 371.6 kB / 352.6 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.04e-05/0.08442, allocations: 66.48 kB / 352.7 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.08447, allocations: 24.78 kB / 352.7 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.08448, allocations: 0 / 352.7 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.0845, allocations: 34.56 kB / 352.8 MB, free: 1.051 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.08451, allocations: 0 / 352.8 MB, free: 1.051 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006061/0.08512, allocations: 0.5129 MB / 353.3 MB, free: 456 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.08516, allocations: 55.41 kB / 353.3 MB, free: 388 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.339e-05/0.08524, allocations: 118.2 kB / 353.4 MB, free: 260 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.08526, allocations: 25.7 kB / 353.5 MB, free: 228 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.08531, allocations: 96.03 kB / 353.6 MB, free: 128 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.08534, allocations: 31.8 kB / 353.6 MB, free: 96 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.08538, allocations: 37.55 kB / 353.6 MB, free: 52 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.08549, allocations: 318.8 kB / 353.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.329e-05/0.08552, allocations: 19.98 kB / 354 MB, free: 15.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/0.08559, allocations: 59.08 kB / 354 MB, free: 15.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.187e-05/0.08568, allocations: 93.06 kB / 354.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.08569, allocations: 0 / 354.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001414/0.08584, allocations: 105.5 kB / 354.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.08585, allocations: 8 kB / 354.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.08586, allocations: 0 / 354.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.08588, allocations: 4 kB / 354.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.688e-05/0.08596, allocations: 23.92 kB / 354.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.08597, allocations: 12.03 kB / 354.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.736e-05/0.08602, allocations: 4 kB / 354.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.08603, allocations: 4 kB / 354.3 MB, free: 15.36 MB / 302.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 6.497e-05/0.0861, allocations: 117.8 kB / 354.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.08613, allocations: 7.906 kB / 354.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.08617, allocations: 16.38 kB / 354.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.08618, allocations: 3.984 kB / 354.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.08618, allocations: 3.938 kB / 354.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.08619, allocations: 0 / 354.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.0866, allocations: 410.5 kB / 354.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.08661, allocations: 4 kB / 354.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.017e-05/0.0867, allocations: 16 kB / 354.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.08671, allocations: 4 kB / 354.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.08672, allocations: 4.156 kB / 354.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.08674, allocations: 15.88 kB / 354.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.08674, allocations: 3.984 kB / 354.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.08694, allocations: 227.6 kB / 355.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.08698, allocations: 89.03 kB / 355.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.087, allocations: 4 kB / 355.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/0.08707, allocations: 4 kB / 355.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.08709, allocations: 7.984 kB / 355.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.0871, allocations: 4 kB / 355.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.892e-05/0.08716, allocations: 95.31 kB / 355.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08716, allocations: 0 / 355.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000233/0.0874, allocations: 16.06 kB / 355.3 MB, free: 14.2 MB / 302.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.0004031/0.08781, allocations: 0.775 MB / 356.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.08793, allocations: 59.86 kB / 356.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.08794, allocations: 0 / 356.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.626e-05/0.08798, allocations: 32.39 kB / 356.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.0883, allocations: 14.81 kB / 356.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.08967, allocations: 1.694 MB / 357.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.0899, allocations: 0.6926 MB / 358.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.174e-05/0.08994, allocations: 4.438 kB / 358.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.08999, allocations: 31.36 kB / 358.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.08999, allocations: 0 / 358.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3602/0.4502, allocations: 1.706 MB / 360.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/0.4505, allocations: 220.1 kB / 360.5 MB, free: 8.809 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.279, allocations: 7.875 kB / 360.5 MB, free: 8.801 MB / 302.1 MB (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 --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) 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) Reference file matches