Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.001277/0.001277, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001399/0.001399, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.466/1.466, allocations: 230.2 MB / 255.2 MB, free: 15.24 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: 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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 59.91 kB / 374.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08998/0.09187, allocations: 53.33 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.1847/0.2766, allocations: 4.602 MB / 432.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.2789, allocations: 1.398 MB / 433.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.2792, allocations: 26.03 kB / 433.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.2795, allocations: 179.8 kB / 434 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.2798, allocations: 171.1 kB / 434.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.2804, allocations: 377 kB / 434.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007373/0.2812, allocations: 0.9808 MB / 435.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003708/0.2816, allocations: 280.9 kB / 435.8 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.2819, allocations: 334.5 kB / 436.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.2822, allocations: 351.4 kB / 436.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.702e-05/0.2823, allocations: 80.25 kB / 436.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.2825, allocations: 117.8 kB / 436.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.2826, allocations: 170 kB / 436.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.2829, allocations: 423.4 kB / 437.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.2839, allocations: 1.114 MB / 438.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2839, allocations: 2.656 kB / 438.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2839, allocations: 0 / 438.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.284, allocations: 0 / 438.4 MB, free: 6.578 MB / 350.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.001438/0.2854, allocations: 1.182 MB / 439.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2854, allocations: 9.25 kB / 439.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.2857, allocations: 120.1 kB / 439.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008628/0.2865, allocations: 0.6354 MB / 440.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.2866, allocations: 59.09 kB / 440.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.961e-05/0.2867, allocations: 85.53 kB / 440.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.2879, allocations: 0.8427 MB / 441.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.804e-05/0.2879, allocations: 14.2 kB / 441.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.674e-05/0.288, allocations: 33.22 kB / 441.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.288, allocations: 21.95 kB / 441.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008709/0.2889, allocations: 470.8 kB / 441.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.2918, allocations: 4.384 MB / 446.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005616/0.2923, allocations: 276.9 kB / 446.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.2926, allocations: 136.5 kB / 446.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.2927, allocations: 171.6 kB / 446.8 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.2928, allocations: 41.66 kB / 446.8 MB, free: 396 kB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.074e-06/0.2928, allocations: 0.5312 kB / 446.8 MB, free: 396 kB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003432/0.2962, allocations: 1.75 MB / 448.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.2962, allocations: 58.17 kB / 448.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006434/0.2969, allocations: 0.5411 MB / 449.2 MB, free: 15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.2969, allocations: 32.64 kB / 449.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.2973, allocations: 495 kB / 449.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.2975, allocations: 224.4 kB / 449.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.2976, allocations: 141.6 kB / 450.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.2978, allocations: 386 kB / 450.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.2981, allocations: 158.7 kB / 450.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/0.2987, allocations: 458.2 kB / 451 MB, free: 13.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009173/0.2996, allocations: 0.663 MB / 451.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.2996, allocations: 3.625 kB / 451.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00121/0.3008, allocations: 0.7412 MB / 452.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3008, allocations: 9.094 kB / 452.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.3009, allocations: 9.781 kB / 452.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.301, allocations: 47.72 kB / 452.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/0.3016, allocations: 190.4 kB / 452.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.3032, allocations: 1.691 MB / 454.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.3035, allocations: 28.66 kB / 454.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.3036, allocations: 35.12 kB / 454.4 MB, free: 10.89 MB / 366.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.0003607/0.304, allocations: 228.4 kB / 454.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.3041, allocations: 80.27 kB / 454.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.3042, allocations: 74.53 kB / 454.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3042, allocations: 5.531 kB / 454.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.3042, allocations: 5.125 kB / 454.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3042, allocations: 3.188 kB / 454.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.3064, allocations: 1.416 MB / 456.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3064, allocations: 2.906 kB / 456.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004962/0.3069, allocations: 116.8 kB / 456.4 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.451e-05/0.307, allocations: 27.7 kB / 456.4 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.307, allocations: 20.42 kB / 456.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.3082, allocations: 1.373 MB / 457.8 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3082, allocations: 4.141 kB / 457.8 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.3093, allocations: 0.7725 MB / 458.6 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.3095, allocations: 146.4 kB / 458.7 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.3095, allocations: 14.94 kB / 458.7 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.3097, allocations: 22.16 kB / 458.7 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/0.3098, allocations: 39.22 kB / 458.8 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.3099, allocations: 22.58 kB / 458.8 MB, free: 7.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004547/0.3103, allocations: 364.4 kB / 459.2 MB, free: 7.473 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3103, allocations: 4 kB / 459.2 MB, free: 7.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000724/0.311, allocations: 138.2 kB / 459.3 MB, free: 7.449 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.0001644/0.3112, allocations: 117 kB / 459.4 MB, free: 7.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.3123, allocations: 0.5771 MB / 460 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3123, allocations: 1.281 kB / 460 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.3127, allocations: 296.8 kB / 460.3 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.3134, allocations: 95.14 kB / 460.4 MB, free: 6.852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.3164, allocations: 1.91 MB / 462.3 MB, free: 5.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/0.3171, allocations: 0.9653 MB / 463.2 MB, free: 4.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.3173, allocations: 64.08 kB / 463.3 MB, free: 4.859 MB / 366.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3173, allocations: 0 / 463.3 MB, free: 4.859 MB / 366.1 MB Notification: Performance of Templates: time 0.01857/0.3358, allocations: 12.49 MB / 475.8 MB, free: 14.8 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.262641658075154]