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.001466/0.001466, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001642/0.001642, allocations: 220.2 kB / 24.53 MB, free: 4.008 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.376/1.376, allocations: 230.5 MB / 258.2 MB, free: 8.004 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 63.91 kB / 378.6 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2271, allocations: 53.41 MB / 432 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003332/0.2304, allocations: 2.286 MB / 434.2 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003721/0.2308, allocations: 199.2 kB / 434.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.2309, allocations: 4 kB / 434.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.994e-05/0.2309, allocations: 39.58 kB / 434.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.2311, allocations: 59.42 kB / 434.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.2312, allocations: 55.88 kB / 434.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.2315, allocations: 239 kB / 434.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.2316, allocations: 79.02 kB / 434.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.2318, allocations: 91.7 kB / 435 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.2319, allocations: 103.5 kB / 435.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.2319, allocations: 20 kB / 435.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.362e-05/0.232, allocations: 20 kB / 435.1 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.232, allocations: 47.84 kB / 435.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.2321, allocations: 111.5 kB / 435.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.2324, allocations: 263.3 kB / 435.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2324, allocations: 0 / 435.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2324, allocations: 0 / 435.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2324, allocations: 4 kB / 435.6 MB, free: 3.094 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.000666/0.2331, allocations: 441.8 kB / 436 MB, free: 2.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2331, allocations: 12.03 kB / 436 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.465e-05/0.2331, allocations: 8.688 kB / 436 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.2332, allocations: 58.73 kB / 436.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/0.2332, allocations: 24.8 kB / 436.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.2334, allocations: 162.2 kB / 436.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.2335, allocations: 16.88 kB / 436.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.2335, allocations: 28.33 kB / 436.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.2339, allocations: 231.8 kB / 436.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.2339, allocations: 8 kB / 436.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.2339, allocations: 11.94 kB / 436.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2339, allocations: 4 kB / 436.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.2341, allocations: 135.9 kB / 436.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.2352, allocations: 0.8131 MB / 437.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.2354, allocations: 159.8 kB / 437.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.366e-05/0.2355, allocations: 62.55 kB / 437.7 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.2355, allocations: 8.188 kB / 437.7 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.2356, allocations: 42.55 kB / 437.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.2356, allocations: 0 / 437.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003536/0.2359, allocations: 165.4 kB / 437.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.236, allocations: 102.8 kB / 438 MB, free: 424 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.2362, allocations: 203.5 kB / 438.2 MB, free: 212 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.2362, allocations: 33.7 kB / 438.2 MB, free: 172 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.2363, allocations: 164.2 kB / 438.4 MB, free: 4 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.599e-05/0.2364, allocations: 63.61 kB / 438.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.2364, allocations: 57.94 kB / 438.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2366, allocations: 330.8 kB / 438.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.809e-05/0.2367, allocations: 44.55 kB / 438.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.2368, allocations: 155.9 kB / 439 MB, free: 15.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.2371, allocations: 221.5 kB / 439.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2371, allocations: 4 kB / 439.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003517/0.2375, allocations: 241.6 kB / 439.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2375, allocations: 8 kB / 439.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2375, allocations: 4 kB / 439.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2375, allocations: 4 kB / 439.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.2377, allocations: 67.84 kB / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.2377, allocations: 8.141 kB / 439.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.2379, allocations: 36.17 kB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.2379, allocations: 12 kB / 439.6 MB, free: 14.65 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.0001142/0.238, allocations: 137.8 kB / 439.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.2381, allocations: 19.84 kB / 439.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.2381, allocations: 25.39 kB / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2381, allocations: 4.188 kB / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2381, allocations: 0 / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2381, allocations: 7.984 kB / 439.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.2386, allocations: 403.9 kB / 440.2 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2386, allocations: 0 / 440.2 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.2388, allocations: 35.98 kB / 440.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2388, allocations: 0 / 440.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.2389, allocations: 8 kB / 440.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2389, allocations: 0 / 440.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2389, allocations: 7.938 kB / 440.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.2392, allocations: 396.7 kB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.2393, allocations: 19.91 kB / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.2393, allocations: 4 kB / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.2394, allocations: 4 kB / 440.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.2395, allocations: 15.92 kB / 440.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2395, allocations: 15.92 kB / 440.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.2396, allocations: 135.2 kB / 440.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2396, allocations: 0 / 440.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003403/0.2399, allocations: 55.89 kB / 440.9 MB, free: 13.29 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.0006738/0.2406, allocations: 0.9117 MB / 441.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.2408, allocations: 132.5 kB / 441.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.2408, allocations: 4.188 kB / 441.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.2409, allocations: 51.86 kB / 442 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.2414, allocations: 41.03 kB / 442 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.2441, allocations: 2.553 MB / 444.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.2445, allocations: 0.7359 MB / 445.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.965e-05/0.2446, allocations: 21.94 kB / 445.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.186e-05/0.2447, allocations: 55.42 kB / 445.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of SimCode: time 9.81e-07/0.2447, allocations: 0 / 445.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.2699, allocations: 4.049 MB / 449.5 MB, free: 4.613 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.03, allocations: 15.55 kB / 449.5 MB, free: 4.602 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.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_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.330271305982023]