Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.00157/0.00157, 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.001921/0.001921, allocations: 215 kB / 23.72 MB, free: 4.531 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.398/1.398, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.WhyArrows,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 56.02 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2305, allocations: 53.37 MB / 431.1 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003322/0.2338, allocations: 2.134 MB / 433.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004148/0.2342, allocations: 199.3 kB / 433.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.2343, allocations: 4 kB / 433.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.478e-05/0.2344, allocations: 35.64 kB / 433.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.2346, allocations: 59.42 kB / 433.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.2347, allocations: 51.92 kB / 433.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.235, allocations: 242.9 kB / 433.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.2352, allocations: 86.95 kB / 433.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.2353, allocations: 91.7 kB / 434 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.2354, allocations: 99.55 kB / 434.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.2355, allocations: 24 kB / 434.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-05/0.2355, allocations: 20 kB / 434.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.2356, allocations: 47.84 kB / 434.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.991e-05/0.2357, allocations: 91.59 kB / 434.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.236, allocations: 260.6 kB / 434.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.236, allocations: 0 / 434.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.236, allocations: 0 / 434.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.236, allocations: 0 / 434.5 MB, free: 3.348 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006921/0.2367, allocations: 441.8 kB / 434.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.2367, allocations: 12.03 kB / 434.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.173e-05/0.2368, allocations: 58.73 kB / 435 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.2368, allocations: 24.8 kB / 435 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.237, allocations: 162.1 kB / 435.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.2371, allocations: 24.88 kB / 435.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.2371, allocations: 20.38 kB / 435.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.2375, allocations: 232 kB / 435.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.2375, allocations: 11.92 kB / 435.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.2375, allocations: 8 kB / 435.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.2375, allocations: 4 kB / 435.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.2378, allocations: 127.9 kB / 435.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.2389, allocations: 0.782 MB / 436.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.2391, allocations: 155.9 kB / 436.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.305e-05/0.2392, allocations: 62.5 kB / 436.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.2392, allocations: 7.938 kB / 436.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.2392, allocations: 42.5 kB / 436.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.2392, allocations: 0 / 436.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003629/0.2396, allocations: 169.6 kB / 436.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.2397, allocations: 106.8 kB / 436.9 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.2399, allocations: 204.5 kB / 437.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.2399, allocations: 37.69 kB / 437.1 MB, free: 472 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.24, allocations: 164.1 kB / 437.3 MB, free: 304 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.236e-05/0.2401, allocations: 63.44 kB / 437.4 MB, free: 240 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.104e-05/0.2401, allocations: 53.94 kB / 437.4 MB, free: 176 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2403, allocations: 330.8 kB / 437.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.604e-05/0.2404, allocations: 44.55 kB / 437.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.2405, allocations: 155.6 kB / 437.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.2408, allocations: 221.5 kB / 438.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.2408, allocations: 4 kB / 438.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003639/0.2412, allocations: 241.2 kB / 438.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2412, allocations: 8 kB / 438.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.2412, allocations: 4 kB / 438.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2412, allocations: 4 kB / 438.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.2415, allocations: 64.34 kB / 438.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.2415, allocations: 8.719 kB / 438.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.2416, allocations: 35.78 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.2416, allocations: 8 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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 0.0001232/0.2417, allocations: 145.7 kB / 438.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.2418, allocations: 23.8 kB / 438.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.2419, allocations: 21.41 kB / 438.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2419, allocations: 4 kB / 438.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2419, allocations: 0 / 438.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.2419, allocations: 7.984 kB / 438.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.2424, allocations: 376 kB / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2424, allocations: 0 / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.2426, allocations: 39.92 kB / 439.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2426, allocations: 4 kB / 439.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.2426, allocations: 4 kB / 439.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.2426, allocations: 4 kB / 439.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2426, allocations: 0 / 439.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.243, allocations: 387.3 kB / 439.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.2431, allocations: 23.8 kB / 439.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.2431, allocations: 8 kB / 439.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.2432, allocations: 4.094 kB / 439.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.2433, allocations: 19.95 kB / 439.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.2433, allocations: 8 kB / 439.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.2434, allocations: 143.3 kB / 439.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2434, allocations: 3.938 kB / 439.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003484/0.2437, allocations: 47.95 kB / 439.8 MB, free: 13.62 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (17): * Single equations (assignments): 17 * 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.0006921/0.2444, allocations: 0.9235 MB / 440.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.2447, allocations: 131.9 kB / 440.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2447, allocations: 0 / 440.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.775e-05/0.2448, allocations: 51.92 kB / 440.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.2453, allocations: 31.81 kB / 440.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.2481, allocations: 2.566 MB / 443.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.2483, allocations: 125.2 kB / 443.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.328e-05/0.2484, allocations: 25.94 kB / 443.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.2484, allocations: 51.42 kB / 443.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.2484, allocations: 0 / 443.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.2792, allocations: 4.411 MB / 448.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.67, allocations: 15.61 kB / 448.1 MB, free: 5.195 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.945509479992324]