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.001544/0.001544, allocations: 120.8 kB / 17.74 MB, free: 5.332 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.001763/0.001764, allocations: 186.9 kB / 20.68 MB, free: 2.402 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.446/1.446, allocations: 222.9 MB / 246.4 MB, free: 4.203 MB / 190.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.001528/0.001528, allocations: 43.92 kB / 357.5 MB, free: 8.957 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.107, allocations: 49.44 MB / 406.9 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002901/0.1099, allocations: 1.631 MB / 408.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002509/0.1102, allocations: 67.78 kB / 408.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.1103, allocations: 0 / 408.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.1105, allocations: 15.86 kB / 408.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.719e-05/0.1105, allocations: 11.86 kB / 408.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.1106, allocations: 15.98 kB / 408.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1108, allocations: 75.64 kB / 408.7 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1109, allocations: 28.2 kB / 408.8 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.009e-05/0.111, allocations: 19.94 kB / 408.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.111, allocations: 27.86 kB / 408.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1111, allocations: 4 kB / 408.8 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.1111, allocations: 4 kB / 408.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.1111, allocations: 15.97 kB / 408.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.1112, allocations: 27.81 kB / 408.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.1113, allocations: 63.78 kB / 408.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1113, allocations: 0 / 408.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1113, allocations: 0 / 408.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.1113, allocations: 4 kB / 408.9 MB, free: 5.457 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.0004922/0.1118, allocations: 371.2 kB / 409.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1119, allocations: 15.97 kB / 409.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.298e-05/0.1119, allocations: 38.73 kB / 409.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.112, allocations: 8.891 kB / 409.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1122, allocations: 180.3 kB / 409.5 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1123, allocations: 4.375 kB / 409.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1123, allocations: 16.38 kB / 409.5 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1125, allocations: 62.23 kB / 409.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.1125, allocations: 15.83 kB / 409.6 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1125, allocations: 4 kB / 409.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1125, allocations: 0 / 409.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.469e-05/0.1126, allocations: 35.97 kB / 409.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007746/0.1134, allocations: 367.7 kB / 410 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.1135, allocations: 66.48 kB / 410.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.1136, allocations: 21 kB / 410.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.1136, allocations: 3.984 kB / 410.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1136, allocations: 30.56 kB / 410.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.1136, allocations: 0 / 410.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008307/0.1145, allocations: 0.5169 MB / 410.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1145, allocations: 51.41 kB / 410.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.1146, allocations: 121.8 kB / 410.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1147, allocations: 29.7 kB / 410.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.1147, allocations: 100 kB / 410.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.1148, allocations: 35.69 kB / 411 MB, free: 3.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.1148, allocations: 30.17 kB / 411 MB, free: 3.055 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.115, allocations: 318.8 kB / 411.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.959e-05/0.115, allocations: 23.94 kB / 411.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-05/0.1151, allocations: 53.14 kB / 411.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1152, allocations: 89.08 kB / 411.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1153, allocations: 3.938 kB / 411.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002202/0.1155, allocations: 109.5 kB / 411.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1155, allocations: 8 kB / 411.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1155, allocations: 0 / 411.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1155, allocations: 0 / 411.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.185e-05/0.1156, allocations: 27.92 kB / 411.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.1157, allocations: 11.88 kB / 411.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.228e-05/0.1157, allocations: 8.094 kB / 411.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1157, allocations: 4 kB / 411.7 MB, free: 2.359 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.387e-05/0.1158, allocations: 113.8 kB / 411.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.1158, allocations: 4 kB / 411.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.1159, allocations: 12.36 kB / 411.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1159, allocations: 4 kB / 411.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.1159, allocations: 3.938 kB / 411.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1159, allocations: 3.938 kB / 411.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005318/0.1165, allocations: 410.8 kB / 412.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1165, allocations: 48 / 412.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.201e-05/0.1166, allocations: 19.98 kB / 412.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1166, allocations: 0 / 412.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1166, allocations: 11.92 kB / 412.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.1166, allocations: 8 kB / 412.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1166, allocations: 4.156 kB / 412.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.1169, allocations: 231.7 kB / 412.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.1169, allocations: 85.12 kB / 412.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.117, allocations: 4 kB / 412.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.117, allocations: 8 kB / 412.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.1171, allocations: 7.984 kB / 412.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.1171, allocations: 4 kB / 412.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.187e-05/0.1172, allocations: 99.23 kB / 412.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1172, allocations: 0 / 412.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1174, allocations: 16 kB / 412.7 MB, free: 1.195 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.0006265/0.1181, allocations: 0.7673 MB / 413.5 MB, free: 396 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.1182, allocations: 63.92 kB / 413.5 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1182, allocations: 0 / 413.5 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.274e-05/0.1183, allocations: 31.92 kB / 413.5 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1187, allocations: 12 kB / 413.6 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.1205, allocations: 1.677 MB / 415.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.1209, allocations: 0.6967 MB / 415.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.72e-05/0.121, allocations: 12.42 kB / 415.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.121, allocations: 23.42 kB / 416 MB, free: 13.71 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.121, allocations: 0 / 416 MB, free: 13.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.148, allocations: 1.899 MB / 417.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.179, allocations: 19.48 kB / 417.9 MB, free: 11.89 MB / 350.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.746802160982043]