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.001304/0.001304, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00141/0.00141, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.394/1.394, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001496/0.001496, allocations: 47.94 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2466, allocations: 53.37 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002856/0.2494, allocations: 1.629 MB / 432.7 MB, free: 5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002493/0.2497, allocations: 71.72 kB / 432.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.2497, allocations: 0 / 432.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.597e-05/0.2498, allocations: 7.875 kB / 432.8 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.344e-05/0.2499, allocations: 19.84 kB / 432.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.25, allocations: 23.92 kB / 432.8 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.2501, allocations: 67.66 kB / 432.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2502, allocations: 12 kB / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.156e-05/0.2503, allocations: 31.91 kB / 432.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.405e-05/0.2503, allocations: 23.86 kB / 432.9 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.2503, allocations: 4 kB / 433 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.2504, allocations: 4 kB / 433 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.2504, allocations: 12 kB / 433 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.2504, allocations: 23.86 kB / 433 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.2506, allocations: 73.39 kB / 433.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2506, allocations: 4 kB / 433.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2506, allocations: 0 / 433.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.2506, allocations: 0 / 433.1 MB, free: 4.629 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.0004237/0.251, allocations: 290.2 kB / 433.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.251, allocations: 8.031 kB / 433.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.636e-05/0.2511, allocations: 34.75 kB / 433.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.2511, allocations: 16.88 kB / 433.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.2513, allocations: 126.4 kB / 433.5 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.2513, allocations: 4.375 kB / 433.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.2513, allocations: 12.38 kB / 433.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.2515, allocations: 68.91 kB / 433.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2515, allocations: 3.938 kB / 433.6 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.2515, allocations: 4 kB / 433.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.2515, allocations: 7.984 kB / 433.6 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.517e-05/0.2516, allocations: 35.92 kB / 433.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.2522, allocations: 334.7 kB / 434 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.2523, allocations: 58.5 kB / 434 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.2524, allocations: 16.86 kB / 434.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.2524, allocations: 0 / 434.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.2524, allocations: 38.56 kB / 434.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.2524, allocations: 0 / 434.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006608/0.253, allocations: 371.3 kB / 434.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.2531, allocations: 51.41 kB / 434.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.2532, allocations: 129.8 kB / 434.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.2532, allocations: 25.7 kB / 434.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.2533, allocations: 96.03 kB / 434.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.2533, allocations: 31.73 kB / 434.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.2533, allocations: 25.72 kB / 434.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2535, allocations: 326.8 kB / 435.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.724e-05/0.2535, allocations: 16 kB / 435.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.59e-05/0.2536, allocations: 57.08 kB / 435.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.2537, allocations: 89.08 kB / 435.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2537, allocations: 0 / 435.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001616/0.2538, allocations: 113.5 kB / 435.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2539, allocations: 4 kB / 435.4 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.2539, allocations: 4.094 kB / 435.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2539, allocations: 4 kB / 435.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.142e-05/0.254, allocations: 27.92 kB / 435.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.254, allocations: 3.938 kB / 435.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.16e-05/0.254, allocations: 8 kB / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.254, allocations: 4 kB / 435.5 MB, free: 1.949 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.611e-05/0.2541, allocations: 117.8 kB / 435.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.2541, allocations: 7.953 kB / 435.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.2542, allocations: 12.36 kB / 435.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2542, allocations: 144 / 435.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2542, allocations: 7.938 kB / 435.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2542, allocations: 7.984 kB / 435.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.2547, allocations: 377.6 kB / 436 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2547, allocations: 0 / 436 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.149e-05/0.2548, allocations: 19.98 kB / 436 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2548, allocations: 0 / 436 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.2548, allocations: 4 kB / 436 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2548, allocations: 0 / 436 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.2548, allocations: 12.09 kB / 436 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.255, allocations: 236 kB / 436.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.255, allocations: 11.97 kB / 436.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.2551, allocations: 4 kB / 436.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.2551, allocations: 7.938 kB / 436.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.2551, allocations: 7.984 kB / 436.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2552, allocations: 4 kB / 436.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.351e-05/0.2552, allocations: 91.28 kB / 436.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2552, allocations: 0 / 436.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.2555, allocations: 16 kB / 436.4 MB, free: 0.9102 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.0005164/0.256, allocations: 0.7751 MB / 437.2 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.2561, allocations: 59.86 kB / 437.2 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2561, allocations: 0 / 437.2 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.255e-05/0.2562, allocations: 27.92 kB / 437.2 MB, free: 8 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.2565, allocations: 12.64 kB / 437.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.2582, allocations: 1.67 MB / 438.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.272e-05/0.2583, allocations: 75.33 kB / 439 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.547e-05/0.2583, allocations: 8.906 kB / 439 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.2584, allocations: 23.42 kB / 439 MB, free: 14.06 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2584, allocations: 0 / 439 MB, free: 14.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.2882, allocations: 2.473 MB / 441.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.69, allocations: 2.5 kB / 441.5 MB, free: 11.72 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: 12.964237348001916]