Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002216/0.002216, allocations: 204.5 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 47.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2824, allocations: 53.37 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005873/0.2883, allocations: 4.121 MB / 435.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.291, allocations: 1.356 MB / 437 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003364/0.2914, allocations: 31.75 kB / 437.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.2919, allocations: 186.1 kB / 437.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004385/0.2923, allocations: 166.3 kB / 437.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.2934, allocations: 379.4 kB / 437.8 MB, free: 484 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.2948, allocations: 0.9782 MB / 438.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004802/0.2952, allocations: 287.2 kB / 439.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000536/0.2958, allocations: 346.6 kB / 439.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/0.2962, allocations: 346 kB / 439.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.636e-05/0.2963, allocations: 72 kB / 439.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.2965, allocations: 123.9 kB / 439.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.2966, allocations: 171.3 kB / 440.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003007/0.2969, allocations: 338.1 kB / 440.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.2982, allocations: 1.118 MB / 441.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2982, allocations: 4 kB / 441.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2982, allocations: 0 / 441.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.2983, allocations: 0 / 441.5 MB, free: 12.7 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.001852/0.3001, allocations: 1.097 MB / 442.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.3002, allocations: 8.031 kB / 442.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003292/0.3005, allocations: 115.3 kB / 442.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.3016, allocations: 0.559 MB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/0.3017, allocations: 62 kB / 443.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.3018, allocations: 83.95 kB / 443.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.3033, allocations: 0.8481 MB / 444.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.829e-05/0.3033, allocations: 7.938 kB / 444.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/0.3034, allocations: 32 kB / 444.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.3034, allocations: 24 kB / 444.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000901/0.3043, allocations: 467.3 kB / 444.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0043/0.3086, allocations: 4.089 MB / 448.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.3092, allocations: 293.3 kB / 449.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.3094, allocations: 129.5 kB / 449.3 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.3096, allocations: 24.36 kB / 449.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3096, allocations: 38.88 kB / 449.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.765e-06/0.3096, allocations: 0 / 449.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003533/0.3131, allocations: 1.588 MB / 451 MB, free: 2.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.3132, allocations: 63.91 kB / 451 MB, free: 2.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006584/0.3139, allocations: 0.5508 MB / 451.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.3139, allocations: 37.64 kB / 451.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.3143, allocations: 495.7 kB / 452.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.3144, allocations: 222.2 kB / 452.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.3146, allocations: 138.6 kB / 452.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.3148, allocations: 382.7 kB / 452.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.3151, allocations: 161.9 kB / 453 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/0.3156, allocations: 459.2 kB / 453.4 MB, free: 188 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008765/0.3165, allocations: 0.6673 MB / 454.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3165, allocations: 0 / 454.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001298/0.3178, allocations: 0.7466 MB / 454.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3178, allocations: 8 kB / 454.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.3178, allocations: 8 kB / 454.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/0.318, allocations: 48.84 kB / 454.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000593/0.3186, allocations: 183.7 kB / 455.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.3201, allocations: 1.551 MB / 456.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.3204, allocations: 28 kB / 456.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.3204, allocations: 44.09 kB / 456.7 MB, free: 12.66 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.000335/0.3208, allocations: 232.5 kB / 457 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.3209, allocations: 75.52 kB / 457 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.321, allocations: 75.08 kB / 457.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.321, allocations: 11.94 kB / 457.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.321, allocations: 0 / 457.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.321, allocations: 3.984 kB / 457.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.3231, allocations: 1.182 MB / 458.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.3231, allocations: 7.938 kB / 458.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/0.3236, allocations: 115.9 kB / 458.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.994e-05/0.3237, allocations: 24.78 kB / 458.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/0.3238, allocations: 16.34 kB / 458.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.3248, allocations: 1.245 MB / 459.7 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.3248, allocations: 7.938 kB / 459.7 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.326, allocations: 0.7802 MB / 460.5 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.3261, allocations: 63.88 kB / 460.6 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.04e-05/0.3262, allocations: 15.98 kB / 460.6 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.3264, allocations: 19.94 kB / 460.6 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.3265, allocations: 43.91 kB / 460.6 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.3265, allocations: 23.98 kB / 460.7 MB, free: 8.484 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004653/0.327, allocations: 363.1 kB / 461 MB, free: 8.137 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.327, allocations: 0 / 461 MB, free: 8.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007425/0.3277, allocations: 136 kB / 461.1 MB, free: 8.004 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.0001647/0.3279, allocations: 127 kB / 461.3 MB, free: 7.871 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.3289, allocations: 0.5686 MB / 461.8 MB, free: 7.293 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3289, allocations: 3.938 kB / 461.8 MB, free: 7.289 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004387/0.3294, allocations: 294.5 kB / 462.1 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006457/0.33, allocations: 102.2 kB / 462.2 MB, free: 6.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.3331, allocations: 1.882 MB / 464.1 MB, free: 4.941 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.3335, allocations: 374.3 kB / 464.5 MB, free: 4.551 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002753/0.3337, allocations: 90 kB / 464.6 MB, free: 4.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.3339, allocations: 59.42 kB / 464.6 MB, free: 4.402 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3339, allocations: 0 / 464.6 MB, free: 4.402 MB / 366.1 MB Notification: Performance of Templates: time 0.01447/0.3483, allocations: 6.337 MB / 471 MB, free: 14.16 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 4.696090483106673]