Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001398/0.001398, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001496/0.001496, allocations: 203.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 230.5 MB / 257.4 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.91 kB / 377.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.232, allocations: 53.41 MB / 431.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00328/0.2353, allocations: 2.142 MB / 433.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003861/0.2357, allocations: 195.3 kB / 433.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.369e-05/0.2357, allocations: 8 kB / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.825e-05/0.2358, allocations: 35.64 kB / 433.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.236, allocations: 63.41 kB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.2361, allocations: 55.88 kB / 433.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.2364, allocations: 235 kB / 433.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.2365, allocations: 71.02 kB / 433.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.2367, allocations: 91.72 kB / 434 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.2368, allocations: 87.55 kB / 434.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.2368, allocations: 20 kB / 434.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.101e-05/0.2369, allocations: 28 kB / 434.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.2369, allocations: 47.83 kB / 434.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.632e-05/0.237, allocations: 91.59 kB / 434.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.2373, allocations: 256.6 kB / 434.5 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2373, allocations: 0 / 434.5 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2373, allocations: 0 / 434.5 MB, free: 3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2373, allocations: 3.938 kB / 434.5 MB, free: 2.996 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.0006791/0.238, allocations: 449.8 kB / 435 MB, free: 2.523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.238, allocations: 11.98 kB / 435 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.616e-05/0.2381, allocations: 62.72 kB / 435 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.2381, allocations: 24.8 kB / 435.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.2383, allocations: 166.2 kB / 435.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.2384, allocations: 16.88 kB / 435.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.2384, allocations: 24.38 kB / 435.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.2388, allocations: 232 kB / 435.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.2388, allocations: 7.938 kB / 435.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.2388, allocations: 8 kB / 435.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.2388, allocations: 11.94 kB / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.2391, allocations: 131.9 kB / 435.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.2402, allocations: 0.7702 MB / 436.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.2404, allocations: 155.8 kB / 436.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.991e-05/0.2405, allocations: 62.56 kB / 436.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.2405, allocations: 4 kB / 436.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.2405, allocations: 34.5 kB / 436.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.2405, allocations: 0 / 436.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003674/0.2409, allocations: 169.7 kB / 436.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.241, allocations: 110.8 kB / 437 MB, free: 368 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.2412, allocations: 207.5 kB / 437.2 MB, free: 152 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.2412, allocations: 25.7 kB / 437.2 MB, free: 120 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.2413, allocations: 160.4 kB / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.2414, allocations: 75.41 kB / 437.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.678e-05/0.2414, allocations: 53.94 kB / 437.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2416, allocations: 330.8 kB / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.619e-05/0.2417, allocations: 44.55 kB / 437.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.2418, allocations: 159.3 kB / 438 MB, free: 15.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.2421, allocations: 221.5 kB / 438.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2421, allocations: 0 / 438.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003797/0.2425, allocations: 250 kB / 438.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2425, allocations: 8 kB / 438.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2425, allocations: 352 / 438.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.2425, allocations: 12 kB / 438.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.2427, allocations: 59.86 kB / 438.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.2428, allocations: 15.91 kB / 438.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.2429, allocations: 31.77 kB / 438.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.2429, allocations: 16 kB / 438.6 MB, free: 14.58 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.0001175/0.243, allocations: 142.7 kB / 438.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.2431, allocations: 23.8 kB / 438.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.2432, allocations: 25.39 kB / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2432, allocations: 4 kB / 438.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.2432, allocations: 0 / 438.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2432, allocations: 0 / 438.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.2437, allocations: 379.9 kB / 439.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2437, allocations: 0 / 439.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.2439, allocations: 43.97 kB / 439.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2439, allocations: 4.094 kB / 439.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.2439, allocations: 4 kB / 439.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2439, allocations: 0 / 439.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2439, allocations: 4 kB / 439.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.2443, allocations: 384.9 kB / 439.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.2443, allocations: 19.8 kB / 439.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.2444, allocations: 12.03 kB / 439.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.2445, allocations: 4 kB / 439.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.2445, allocations: 15.92 kB / 439.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.2445, allocations: 7.938 kB / 439.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.2447, allocations: 135.2 kB / 439.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2447, allocations: 4 kB / 439.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003584/0.245, allocations: 55.95 kB / 439.8 MB, free: 13.25 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.0006564/0.2457, allocations: 0.9032 MB / 440.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.2459, allocations: 132.6 kB / 440.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2459, allocations: 0 / 440.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.996e-05/0.246, allocations: 59.97 kB / 440.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.2465, allocations: 31.92 kB / 440.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.2493, allocations: 2.554 MB / 443.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.2494, allocations: 133.2 kB / 443.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.583e-05/0.2495, allocations: 17.95 kB / 443.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.095e-05/0.2496, allocations: 55.42 kB / 443.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2496, allocations: 4 kB / 443.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.2803, allocations: 4.337 MB / 448 MB, free: 4.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.29, allocations: 8.062 kB / 448.1 MB, free: 4.902 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv","/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_trunk_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: 13.727649636100978]