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.001327/0.001327, allocations: 112.2 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.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.001395/0.001395, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.388/1.388, allocations: 225.6 MB / 252.5 MB, free: 13.02 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 55.86 kB / 370.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2484, allocations: 52.18 MB / 422.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002796/0.2512, allocations: 1.663 MB / 424.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002296/0.2514, allocations: 67.72 kB / 424.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.2515, allocations: 4 kB / 424.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.202e-05/0.2516, allocations: 15.86 kB / 424.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.242e-05/0.2516, allocations: 15.84 kB / 424.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.2517, allocations: 15.98 kB / 424.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.2519, allocations: 63.73 kB / 424.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.252, allocations: 19.92 kB / 424.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.452e-05/0.252, allocations: 27.91 kB / 424.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.27e-05/0.2521, allocations: 23.92 kB / 424.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.2521, allocations: 4 kB / 424.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.2521, allocations: 12 kB / 424.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.2521, allocations: 7.938 kB / 424.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.2522, allocations: 31.86 kB / 424.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.2523, allocations: 64.56 kB / 424.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2523, allocations: 0 / 424.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2523, allocations: 0 / 424.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2523, allocations: 0 / 424.6 MB, free: 12.59 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.0004274/0.2527, allocations: 293.7 kB / 424.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2528, allocations: 8.031 kB / 424.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.2528, allocations: 42.75 kB / 425 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.2528, allocations: 8.891 kB / 425 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.253, allocations: 122.4 kB / 425.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.253, allocations: 4.375 kB / 425.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.2531, allocations: 8.375 kB / 425.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.2532, allocations: 69.75 kB / 425.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.2532, allocations: 7.891 kB / 425.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2532, allocations: 4 kB / 425.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.2532, allocations: 8 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.2533, allocations: 39.91 kB / 425.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.254, allocations: 346.8 kB / 425.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.784e-05/0.2541, allocations: 58.5 kB / 425.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.2541, allocations: 24.73 kB / 425.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.2541, allocations: 0 / 425.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.2541, allocations: 38.55 kB / 425.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.2541, allocations: 4 kB / 425.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006747/0.2548, allocations: 367.2 kB / 426.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.2548, allocations: 55.41 kB / 426.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2549, allocations: 121.8 kB / 426.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.255, allocations: 25.7 kB / 426.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.255, allocations: 96.09 kB / 426.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.2551, allocations: 35.69 kB / 426.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.2551, allocations: 25.72 kB / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2552, allocations: 318.8 kB / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.701e-05/0.2553, allocations: 19.98 kB / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.521e-05/0.2553, allocations: 60.22 kB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.2554, allocations: 85.08 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2554, allocations: 0 / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001604/0.2556, allocations: 109.5 kB / 427 MB, free: 9.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2556, allocations: 15.53 kB / 427 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.2556, allocations: 3.984 kB / 427 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2556, allocations: 4 kB / 427 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/0.2557, allocations: 16 kB / 427 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.2557, allocations: 15.86 kB / 427 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.872e-05/0.2558, allocations: 4 kB / 427.1 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.2558, allocations: 4.469 kB / 427.1 MB, free: 9.902 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.495e-05/0.2559, allocations: 121.8 kB / 427.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.2559, allocations: 0 / 427.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.2559, allocations: 20.38 kB / 427.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2559, allocations: 0 / 427.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2559, allocations: 7.875 kB / 427.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2559, allocations: 144 / 427.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.2564, allocations: 385.6 kB / 427.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2564, allocations: 4.156 kB / 427.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.136e-05/0.2565, allocations: 19.98 kB / 427.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.2565, allocations: 4 kB / 427.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.2565, allocations: 7.938 kB / 427.6 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2565, allocations: 4 kB / 427.6 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.2565, allocations: 3.938 kB / 427.6 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.2568, allocations: 231.7 kB / 427.8 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.2568, allocations: 7.984 kB / 427.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.2568, allocations: 12 kB / 427.9 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.578e-05/0.2569, allocations: 0 / 427.9 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.2569, allocations: 7.984 kB / 427.9 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.2569, allocations: 8.062 kB / 427.9 MB, free: 8.961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.604e-05/0.257, allocations: 95.27 kB / 428 MB, free: 8.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.257, allocations: 0 / 428 MB, free: 8.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.2572, allocations: 16 kB / 428 MB, free: 8.852 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.000527/0.2577, allocations: 0.7634 MB / 428.8 MB, free: 8.047 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.2579, allocations: 68.31 kB / 428.8 MB, free: 7.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2579, allocations: 0 / 428.8 MB, free: 7.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.713e-05/0.2579, allocations: 24.44 kB / 428.8 MB, free: 7.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.2582, allocations: 24.84 kB / 428.9 MB, free: 7.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.26, allocations: 1.655 MB / 430.5 MB, free: 6.137 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.2603, allocations: 0.6961 MB / 431.2 MB, free: 5.414 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.627e-05/0.2603, allocations: 12.42 kB / 431.2 MB, free: 5.402 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.2604, allocations: 19.44 kB / 431.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.2604, allocations: 0 / 431.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.2896, allocations: 2.059 MB / 433.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.11, allocations: 7.031 kB / 433.3 MB, free: 3.449 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: 13.386883988976479]