Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001481/0.001481, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.487/1.487, allocations: 227.7 MB / 247.2 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.89 kB / 359 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2736, allocations: 50.54 MB / 409.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.00594/0.2796, allocations: 4.59 MB / 414.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.2821, allocations: 1.399 MB / 415.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003329/0.2825, allocations: 23.88 kB / 415.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.283, allocations: 174.2 kB / 415.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.2833, allocations: 166.3 kB / 415.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007911/0.2841, allocations: 379.4 kB / 416.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.2852, allocations: 0.9821 MB / 417.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005832/0.2858, allocations: 418.9 kB / 417.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004442/0.2862, allocations: 334.5 kB / 418 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003786/0.2866, allocations: 342 kB / 418.3 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.695e-05/0.2867, allocations: 72 kB / 418.4 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.2869, allocations: 123.9 kB / 418.5 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.2871, allocations: 175.3 kB / 418.7 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003839/0.2875, allocations: 429.5 kB / 419.1 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.2887, allocations: 1.112 MB / 420.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2887, allocations: 0 / 420.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2887, allocations: 3.938 kB / 420.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.2887, allocations: 0 / 420.2 MB, free: 6.688 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.001625/0.2904, allocations: 1.172 MB / 421.4 MB, free: 5.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2904, allocations: 8.031 kB / 421.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.2907, allocations: 119.3 kB / 421.5 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009844/0.2917, allocations: 0.6389 MB / 422.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.2917, allocations: 54 kB / 422.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.2919, allocations: 87.95 kB / 422.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.2932, allocations: 0.8442 MB / 423.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.2933, allocations: 7.938 kB / 423.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.117e-05/0.2933, allocations: 36 kB / 423.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.2934, allocations: 24 kB / 423.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009019/0.2943, allocations: 471.3 kB / 423.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.2982, allocations: 4.385 MB / 428 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.2988, allocations: 299.5 kB / 428.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.2991, allocations: 141.5 kB / 428.5 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000193/0.2993, allocations: 170.6 kB / 428.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.2993, allocations: 34.94 kB / 428.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.114e-06/0.2993, allocations: 7.938 kB / 428.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003343/0.3027, allocations: 1.741 MB / 430.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.3028, allocations: 67.95 kB / 430.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006405/0.3034, allocations: 0.5392 MB / 431 MB, free: 11.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.3035, allocations: 41.69 kB / 431.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/0.3038, allocations: 491.8 kB / 431.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.304, allocations: 218.1 kB / 431.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.3042, allocations: 142.6 kB / 431.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.3044, allocations: 382.8 kB / 432.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.3047, allocations: 153.9 kB / 432.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.3053, allocations: 467.1 kB / 432.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009396/0.3063, allocations: 0.6673 MB / 433.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3063, allocations: 0 / 433.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001249/0.3075, allocations: 0.7462 MB / 434.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3076, allocations: 8 kB / 434.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.3076, allocations: 8 kB / 434.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001678/0.3078, allocations: 48.84 kB / 434.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.3083, allocations: 183.7 kB / 434.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.3099, allocations: 1.689 MB / 436.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.3102, allocations: 28.06 kB / 436.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.3102, allocations: 36 kB / 436.3 MB, free: 5.586 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.0003499/0.3106, allocations: 233.5 kB / 436.5 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.3107, allocations: 83.5 kB / 436.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.3108, allocations: 75.08 kB / 436.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3109, allocations: 4 kB / 436.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3109, allocations: 4.188 kB / 436.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.3109, allocations: 3.984 kB / 436.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.3131, allocations: 1.417 MB / 438.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.3131, allocations: 4 kB / 438.1 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.3136, allocations: 115.8 kB / 438.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.054e-05/0.3137, allocations: 24.84 kB / 438.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.3137, allocations: 12 kB / 438.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.3151, allocations: 1.375 MB / 439.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/0.3151, allocations: 12 kB / 439.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.3164, allocations: 0.7739 MB / 440.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.3165, allocations: 140.6 kB / 440.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.3166, allocations: 19.98 kB / 440.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.3168, allocations: 16 kB / 440.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.3169, allocations: 43.92 kB / 440.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.3169, allocations: 16 kB / 440.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004459/0.3174, allocations: 367.1 kB / 441 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3174, allocations: 0 / 441 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006324/0.318, allocations: 136 kB / 441.1 MB, free: 416 kB / 350.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.0001425/0.3182, allocations: 119.2 kB / 441.3 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.3192, allocations: 0.5956 MB / 441.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3192, allocations: 0 / 441.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005473/0.3198, allocations: 307.6 kB / 442.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/0.3204, allocations: 111.2 kB / 442.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.3234, allocations: 1.879 MB / 444.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/0.3241, allocations: 0.9652 MB / 445.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002633/0.3243, allocations: 86.02 kB / 445.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.3245, allocations: 59.42 kB / 445.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3245, allocations: 0 / 445.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of Templates: time 0.01293/0.3374, allocations: 5.451 MB / 450.7 MB, free: 6.746 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches