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.001979/0.001979, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002212/0.002212, allocations: 213.2 kB / 23.73 MB, free: 4.164 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.478/1.478, allocations: 230.5 MB / 257.4 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: 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.001938/0.001938, allocations: 63.88 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2391, allocations: 53.41 MB / 431.6 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006035/0.2452, allocations: 4.105 MB / 435.7 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002738/0.2479, allocations: 1.372 MB / 437.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003397/0.2482, allocations: 31.69 kB / 437.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000421/0.2487, allocations: 182.2 kB / 437.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.249, allocations: 162.3 kB / 437.5 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007815/0.2498, allocations: 379.5 kB / 437.8 MB, free: 440 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.2509, allocations: 0.9744 MB / 438.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004946/0.2514, allocations: 271.2 kB / 439.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005703/0.252, allocations: 350.5 kB / 439.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003819/0.2523, allocations: 306 kB / 439.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.2524, allocations: 72 kB / 439.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.2527, allocations: 120 kB / 439.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.2529, allocations: 179.3 kB / 440.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.2532, allocations: 330.1 kB / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.2544, allocations: 1.123 MB / 441.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2544, allocations: 0 / 441.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2544, allocations: 0 / 441.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.2544, allocations: 0 / 441.5 MB, free: 12.71 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.001727/0.2562, allocations: 1.097 MB / 442.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2562, allocations: 8.031 kB / 442.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.2565, allocations: 123.3 kB / 442.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.2576, allocations: 0.5551 MB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.2576, allocations: 58 kB / 443.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.2577, allocations: 83.95 kB / 443.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.2592, allocations: 0.8442 MB / 444.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/0.2592, allocations: 11.94 kB / 444.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-05/0.2593, allocations: 32 kB / 444.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.2593, allocations: 24 kB / 444.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009514/0.2603, allocations: 471.3 kB / 444.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004152/0.2644, allocations: 4.085 MB / 448.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006082/0.265, allocations: 287.6 kB / 449.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.2653, allocations: 129.6 kB / 449.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.2654, allocations: 20.3 kB / 449.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.2655, allocations: 42.88 kB / 449.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.505e-06/0.2655, allocations: 0 / 449.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003331/0.2688, allocations: 1.591 MB / 451 MB, free: 2.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.2689, allocations: 59.89 kB / 451 MB, free: 2.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/0.2695, allocations: 0.5508 MB / 451.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.2696, allocations: 37.7 kB / 451.6 MB, free: 2.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/0.27, allocations: 499.7 kB / 452.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.2701, allocations: 218.2 kB / 452.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.2703, allocations: 138.6 kB / 452.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.2705, allocations: 386.7 kB / 452.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.2708, allocations: 153.9 kB / 453 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/0.2715, allocations: 463.2 kB / 453.4 MB, free: 208 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.2725, allocations: 0.6711 MB / 454.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.2725, allocations: 4 kB / 454.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001248/0.2737, allocations: 0.7464 MB / 454.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.2738, allocations: 8 kB / 454.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.2738, allocations: 8 kB / 454.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.2739, allocations: 56.77 kB / 454.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/0.2745, allocations: 175.7 kB / 455.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.2761, allocations: 1.555 MB / 456.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.2764, allocations: 27.98 kB / 456.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/0.2765, allocations: 40 kB / 456.7 MB, free: 12.67 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.0003589/0.2769, allocations: 233.5 kB / 456.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.277, allocations: 71.53 kB / 457 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.2771, allocations: 79.08 kB / 457.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.2771, allocations: 7.938 kB / 457.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.2771, allocations: 0 / 457.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.475e-06/0.2771, allocations: 3.984 kB / 457.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.2791, allocations: 1.18 MB / 458.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.2791, allocations: 7.938 kB / 458.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/0.2796, allocations: 116.2 kB / 458.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.289e-05/0.2797, allocations: 28.84 kB / 458.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.2798, allocations: 16 kB / 458.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.2808, allocations: 1.241 MB / 459.7 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2808, allocations: 4 kB / 459.7 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.2819, allocations: 0.792 MB / 460.5 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.282, allocations: 63.52 kB / 460.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.431e-05/0.2821, allocations: 12 kB / 460.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.2823, allocations: 16 kB / 460.6 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.2824, allocations: 47.89 kB / 460.6 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.2824, allocations: 16 kB / 460.6 MB, free: 8.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004438/0.2829, allocations: 367.1 kB / 461 MB, free: 8.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2829, allocations: 0 / 461 MB, free: 8.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000687/0.2835, allocations: 136 kB / 461.1 MB, free: 8.016 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.0001986/0.2837, allocations: 122.9 kB / 461.3 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.2848, allocations: 0.568 MB / 461.8 MB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.2848, allocations: 7.938 kB / 461.8 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.2852, allocations: 300.1 kB / 462.1 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005901/0.2858, allocations: 102.3 kB / 462.2 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.2887, allocations: 1.871 MB / 464.1 MB, free: 4.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.2891, allocations: 378.3 kB / 464.5 MB, free: 4.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002587/0.2893, allocations: 86.02 kB / 464.5 MB, free: 4.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.2895, allocations: 59.42 kB / 464.6 MB, free: 4.426 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2895, allocations: 0 / 464.6 MB, free: 4.426 MB / 366.1 MB Notification: Performance of Templates: time 0.01325/0.3027, allocations: 6.115 MB / 470.7 MB, free: 14.41 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/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_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: 4.6640433222055435]