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.00132/0.00132, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001459/0.001459, allocations: 210.1 kB / 24.52 MB, free: 3.941 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.362/1.362, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.001768/0.001768, allocations: 67.89 kB / 378.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2303, allocations: 53.41 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003381/0.2337, allocations: 2.125 MB / 434 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003788/0.2341, allocations: 191.3 kB / 434.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.03e-05/0.2341, allocations: 11.94 kB / 434.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.025e-05/0.2342, allocations: 35.64 kB / 434.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.2344, allocations: 59.42 kB / 434.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.2345, allocations: 51.94 kB / 434.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.2348, allocations: 235 kB / 434.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.235, allocations: 81.12 kB / 434.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.2351, allocations: 99.69 kB / 434.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.2352, allocations: 99.55 kB / 434.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.2353, allocations: 20 kB / 434.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.97e-05/0.2353, allocations: 23.94 kB / 434.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.2354, allocations: 51.78 kB / 435 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.869e-05/0.2355, allocations: 95.59 kB / 435.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.2358, allocations: 262.9 kB / 435.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2358, allocations: 0 / 435.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2358, allocations: 0 / 435.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.2358, allocations: 0 / 435.3 MB, free: 3.047 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.000692/0.2365, allocations: 445.8 kB / 435.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2365, allocations: 8.031 kB / 435.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.949e-05/0.2365, allocations: 8.688 kB / 435.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.569e-05/0.2366, allocations: 58.72 kB / 435.8 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.2366, allocations: 24.8 kB / 435.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.2368, allocations: 166.1 kB / 436 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.2368, allocations: 16.88 kB / 436 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.2369, allocations: 20.38 kB / 436.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.2373, allocations: 235.8 kB / 436.3 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.2373, allocations: 3.984 kB / 436.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.2374, allocations: 19.94 kB / 436.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2374, allocations: 4 kB / 436.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.2376, allocations: 131.9 kB / 436.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.2387, allocations: 0.7742 MB / 437.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.2389, allocations: 159.7 kB / 437.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.239, allocations: 54.88 kB / 437.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.2391, allocations: 7.922 kB / 437.4 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.2391, allocations: 46.5 kB / 437.5 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.2391, allocations: 0 / 437.5 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003896/0.2395, allocations: 161.5 kB / 437.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.2395, allocations: 106.8 kB / 437.7 MB, free: 420 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.2397, allocations: 199.5 kB / 437.9 MB, free: 212 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2398, allocations: 29.7 kB / 438 MB, free: 176 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.2399, allocations: 168.2 kB / 438.1 MB, free: 4 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.258e-05/0.24, allocations: 63.61 kB / 438.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.134e-05/0.24, allocations: 53.94 kB / 438.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2402, allocations: 330.8 kB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.653e-05/0.2403, allocations: 56.48 kB / 438.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.2405, allocations: 155.8 kB / 438.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.2407, allocations: 221.5 kB / 439 MB, free: 15.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2407, allocations: 0 / 439 MB, free: 15.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003744/0.2411, allocations: 245.9 kB / 439.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2411, allocations: 8 kB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2411, allocations: 4 kB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.2412, allocations: 4 kB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.2414, allocations: 63.91 kB / 439.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.2414, allocations: 8.156 kB / 439.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.2415, allocations: 31.73 kB / 439.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.2415, allocations: 11.94 kB / 439.4 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.0001239/0.2417, allocations: 137.8 kB / 439.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.2417, allocations: 31.92 kB / 439.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.2418, allocations: 21.41 kB / 439.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.2418, allocations: 0 / 439.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2418, allocations: 4 kB / 439.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2418, allocations: 4.172 kB / 439.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005316/0.2423, allocations: 376 kB / 439.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.2423, allocations: 7.984 kB / 439.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.2425, allocations: 35.92 kB / 440 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.2425, allocations: 4 kB / 440 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.2425, allocations: 4.094 kB / 440 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.2426, allocations: 11.98 kB / 440 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2426, allocations: 3.938 kB / 440 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.243, allocations: 389.1 kB / 440.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.243, allocations: 15.91 kB / 440.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.243, allocations: 4 kB / 440.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.2432, allocations: 8 kB / 440.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.2432, allocations: 19.95 kB / 440.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.2432, allocations: 4 kB / 440.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.2433, allocations: 135.2 kB / 440.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2433, allocations: 0 / 440.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003489/0.2437, allocations: 59.89 kB / 440.6 MB, free: 13.31 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.0007143/0.2444, allocations: 0.9118 MB / 441.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.2447, allocations: 135.7 kB / 441.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2447, allocations: 4.812 kB / 441.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.375e-05/0.2447, allocations: 48.11 kB / 441.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.2452, allocations: 31.98 kB / 441.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.2481, allocations: 2.561 MB / 444.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.2482, allocations: 133.2 kB / 444.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.232e-05/0.2483, allocations: 21.94 kB / 444.4 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.2484, allocations: 55.42 kB / 444.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2484, allocations: 0 / 444.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.2745, allocations: 4.056 MB / 448.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.07, allocations: 7.938 kB / 448.6 MB, free: 5.238 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.36744911794085]