Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.001646/0.001646, allocations: 108.8 kB / 21.19 MB, free: 0.7578 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.002017/0.002017, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.543/1.543, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.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: translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 51.92 kB / 371.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2764, allocations: 52.18 MB / 423.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006388/0.2828, allocations: 4.617 MB / 428.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002873/0.2857, allocations: 1.356 MB / 429.8 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004491/0.2861, allocations: 27.75 kB / 429.9 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004413/0.2865, allocations: 186.2 kB / 430.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003921/0.2869, allocations: 158.3 kB / 430.2 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008044/0.2877, allocations: 379.4 kB / 430.6 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.2888, allocations: 0.9665 MB / 431.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004778/0.2893, allocations: 283.4 kB / 431.8 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.2897, allocations: 342.6 kB / 432.2 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003996/0.2901, allocations: 349.9 kB / 432.5 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.725e-05/0.2902, allocations: 72 kB / 432.6 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.2904, allocations: 120 kB / 432.7 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.2906, allocations: 171.3 kB / 432.9 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.291, allocations: 429.5 kB / 433.3 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.2922, allocations: 1.11 MB / 434.4 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2923, allocations: 3.938 kB / 434.4 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2923, allocations: 0 / 434.4 MB, free: 4.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.2923, allocations: 0 / 434.4 MB, free: 4.141 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00175/0.294, allocations: 1.097 MB / 435.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2941, allocations: 12.02 kB / 435.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.2942, allocations: 111.3 kB / 435.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.2952, allocations: 0.5512 MB / 436.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.535e-05/0.2953, allocations: 54 kB / 436.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.2954, allocations: 87.95 kB / 436.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.2968, allocations: 0.8403 MB / 437.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.2968, allocations: 15.83 kB / 437.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.2969, allocations: 40 kB / 437.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.2969, allocations: 20 kB / 437.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009078/0.2978, allocations: 471.3 kB / 437.7 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004252/0.3021, allocations: 4.322 MB / 442 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007087/0.3028, allocations: 294.7 kB / 442.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.303, allocations: 125.6 kB / 442.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002302/0.3033, allocations: 16.36 kB / 442.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/0.3033, allocations: 38.94 kB / 442.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.555e-06/0.3033, allocations: 0 / 442.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.004152/0.3075, allocations: 1.599 MB / 444.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.3075, allocations: 59.89 kB / 444.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007402/0.3083, allocations: 0.5392 MB / 444.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.3083, allocations: 33.7 kB / 444.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005042/0.3088, allocations: 495.7 kB / 445.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.309, allocations: 222.1 kB / 445.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.3092, allocations: 138.6 kB / 445.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002259/0.3094, allocations: 382.8 kB / 445.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.3097, allocations: 161.9 kB / 446.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.3103, allocations: 459.2 kB / 446.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009583/0.3112, allocations: 0.6673 MB / 447.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3112, allocations: 0 / 447.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001233/0.3125, allocations: 0.75 MB / 447.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.3125, allocations: 8 kB / 447.9 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3125, allocations: 8 kB / 447.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002375/0.3127, allocations: 48.84 kB / 448 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/0.3133, allocations: 180.3 kB / 448.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.3153, allocations: 1.589 MB / 449.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.3156, allocations: 31.92 kB / 449.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.3156, allocations: 36 kB / 449.8 MB, free: 3.824 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003641/0.316, allocations: 225.6 kB / 450 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.3161, allocations: 75.47 kB / 450.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.3162, allocations: 79.08 kB / 450.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3162, allocations: 4 kB / 450.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.3163, allocations: 7.828 kB / 450.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.3163, allocations: 8.047 kB / 450.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.3185, allocations: 1.391 MB / 451.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.3185, allocations: 4 kB / 451.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000499/0.319, allocations: 111.8 kB / 451.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.685e-05/0.3191, allocations: 24.84 kB / 451.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.3191, allocations: 12.34 kB / 451.7 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.3203, allocations: 1.272 MB / 453 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.3203, allocations: 7.984 kB / 453 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.3215, allocations: 0.7725 MB / 453.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.3216, allocations: 71.45 kB / 453.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.3217, allocations: 23.98 kB / 453.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.3219, allocations: 8 kB / 453.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.322, allocations: 43.88 kB / 453.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.322, allocations: 19.98 kB / 454 MB, free: 15.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005398/0.3225, allocations: 359.1 kB / 454.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3225, allocations: 0 / 454.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006643/0.3232, allocations: 144 kB / 454.5 MB, free: 14.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000167/0.3234, allocations: 115.2 kB / 454.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.3244, allocations: 0.5678 MB / 455.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3244, allocations: 0 / 455.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004268/0.3249, allocations: 300 kB / 455.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.3255, allocations: 103 kB / 455.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/0.3293, allocations: 1.925 MB / 457.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008927/0.3302, allocations: 0.9652 MB / 458.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.3304, allocations: 63.42 kB / 458.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3304, allocations: 0 / 458.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of Templates: time 0.01991/0.3503, allocations: 12.45 MB / 470.9 MB, free: 14.3 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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: 8.150976705132052]