Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.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.001936/0.001936, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.002291/0.002291, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 54.59 kB / 348.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2921, allocations: 49.15 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006309/0.2984, allocations: 5.996 MB / 403.6 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003742/0.3022, allocations: 1.705 MB / 405.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009767/0.3032, allocations: 41.28 kB / 405.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005842/0.3037, allocations: 248.6 kB / 405.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005953/0.3043, allocations: 225.6 kB / 405.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.3054, allocations: 0.5051 MB / 406.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.3069, allocations: 1.389 MB / 407.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006802/0.3076, allocations: 455 kB / 408.2 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006294/0.3082, allocations: 495.8 kB / 408.6 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004989/0.3087, allocations: 0.4891 MB / 409.1 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.3089, allocations: 122 kB / 409.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.3091, allocations: 134.5 kB / 409.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.3093, allocations: 275.8 kB / 409.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004199/0.3097, allocations: 0.6097 MB / 410.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.3114, allocations: 1.63 MB / 411.9 MB, free: 240 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3114, allocations: 1.156 kB / 411.9 MB, free: 240 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3114, allocations: 0 / 411.9 MB, free: 240 kB / 318.1 MB Notification: Performance of Transformations before backend: time 2.851e-05/0.3115, allocations: 0 / 411.9 MB, free: 240 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002511/0.314, allocations: 1.42 MB / 413.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.314, allocations: 13.38 kB / 413.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.3143, allocations: 148.7 kB / 413.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.3157, allocations: 0.6878 MB / 414.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.503e-05/0.3158, allocations: 85.47 kB / 414.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.316, allocations: 118.5 kB / 414.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.3181, allocations: 1.272 MB / 415.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/0.3182, allocations: 6.281 kB / 415.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.579e-05/0.3183, allocations: 54.84 kB / 415.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.3183, allocations: 36.19 kB / 415.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.3196, allocations: 0.686 MB / 416.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007273/0.3269, allocations: 6.669 MB / 423.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007644/0.3277, allocations: 243.8 kB / 423.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003807/0.328, allocations: 162.5 kB / 423.5 MB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.3281, allocations: 9.406 kB / 423.5 MB, free: 6.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.3282, allocations: 41.2 kB / 423.5 MB, free: 6.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.064e-06/0.3282, allocations: 0 / 423.5 MB, free: 6.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002831/0.331, allocations: 1.281 MB / 424.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.3311, allocations: 83.81 kB / 424.9 MB, free: 5.539 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/0.332, allocations: 0.6633 MB / 425.5 MB, free: 5.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.332, allocations: 31.23 kB / 425.6 MB, free: 5.105 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000523/0.3326, allocations: 0.6993 MB / 426.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.3327, allocations: 123.3 kB / 426.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.3329, allocations: 141.6 kB / 426.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.3331, allocations: 392.4 kB / 426.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.3334, allocations: 139.6 kB / 427.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.334, allocations: 0.5529 MB / 427.6 MB, free: 3.203 MB / 334.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.3352, allocations: 0.8142 MB / 428.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.3352, allocations: 4.281 kB / 428.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00139/0.3366, allocations: 0.7921 MB / 429.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.3366, allocations: 11.69 kB / 429.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.3367, allocations: 14.97 kB / 429.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002665/0.3369, allocations: 85.67 kB / 429.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.3375, allocations: 184 kB / 429.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.3403, allocations: 3.115 MB / 432.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.3408, allocations: 34.11 kB / 432.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.3408, allocations: 44.94 kB / 432.7 MB, free: 14.8 MB / 350.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005874/0.3414, allocations: 269 kB / 433 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.3416, allocations: 77.91 kB / 433 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.3417, allocations: 78.31 kB / 433.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3417, allocations: 4 kB / 433.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.3417, allocations: 0 / 433.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3417, allocations: 0 / 433.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.3439, allocations: 1.219 MB / 434.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.3439, allocations: 4 kB / 434.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.3442, allocations: 63.89 kB / 434.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001682/0.3444, allocations: 53.69 kB / 434.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.3444, allocations: 12.08 kB / 434.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00265/0.347, allocations: 2.858 MB / 437.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.347, allocations: 8.094 kB / 437.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3481, allocations: 0.6354 MB / 438 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3482, allocations: 63.47 kB / 438 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.3483, allocations: 8.062 kB / 438 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.3485, allocations: 12 kB / 438.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.98e-05/0.3486, allocations: 27.89 kB / 438.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.3486, allocations: 23.92 kB / 438.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006038/0.3492, allocations: 431 kB / 438.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3492, allocations: 0 / 438.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001073/0.3503, allocations: 160 kB / 438.7 MB, free: 8.566 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001702/0.3505, allocations: 111.1 kB / 438.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.3517, allocations: 0.6328 MB / 439.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3517, allocations: 0 / 439.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005209/0.3522, allocations: 357.2 kB / 439.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.3528, allocations: 84.41 kB / 439.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.3567, allocations: 1.889 MB / 441.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008576/0.3575, allocations: 1.031 MB / 442.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.3577, allocations: 71.41 kB / 442.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of SimCode: time 1.643e-06/0.3577, allocations: 0 / 442.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of Templates: time 0.02786/0.3856, allocations: 19.65 MB / 462.5 MB, free: 0.5859 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.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.604751894949004]