Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 47.92 kB / 371.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2648, allocations: 52.18 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00742/0.2722, allocations: 5.271 MB / 429.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003348/0.2755, allocations: 1.613 MB / 430.7 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000596/0.2761, allocations: 43.69 kB / 430.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005629/0.2767, allocations: 249.6 kB / 431 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005648/0.2772, allocations: 217.8 kB / 431.2 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.2783, allocations: 0.511 MB / 431.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.2798, allocations: 1.379 MB / 433.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007105/0.2805, allocations: 412.3 kB / 433.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006527/0.2812, allocations: 0.4903 MB / 434 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005239/0.2817, allocations: 429.3 kB / 434.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.2818, allocations: 120 kB / 434.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.2821, allocations: 140 kB / 434.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.2823, allocations: 259 kB / 434.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004476/0.2827, allocations: 489.4 kB / 435.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.2844, allocations: 1.651 MB / 437.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2844, allocations: 0 / 437.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2844, allocations: 4 kB / 437.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.27e-05/0.2844, allocations: 0 / 437.1 MB, free: 1.215 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002199/0.2866, allocations: 1.417 MB / 438.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2867, allocations: 12.03 kB / 438.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.2869, allocations: 147.1 kB / 438.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.2882, allocations: 0.6872 MB / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.19e-05/0.2882, allocations: 86.41 kB / 439.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.2884, allocations: 120 kB / 439.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.2905, allocations: 1.318 MB / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/0.2905, allocations: 7.938 kB / 440.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.426e-05/0.2906, allocations: 55.94 kB / 440.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.2906, allocations: 32 kB / 440.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.292, allocations: 0.6851 MB / 441.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006365/0.2984, allocations: 6.295 MB / 447.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007252/0.2991, allocations: 249.2 kB / 448.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.2995, allocations: 157.6 kB / 448.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.362e-05/0.2995, allocations: 8 kB / 448.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2996, allocations: 42.55 kB / 448.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.916e-06/0.2996, allocations: 3.938 kB / 448.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002542/0.3021, allocations: 1.265 MB / 449.6 MB, free: 3.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.3022, allocations: 89.05 kB / 449.7 MB, free: 3.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008227/0.303, allocations: 0.6801 MB / 450.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.303, allocations: 29.7 kB / 450.4 MB, free: 3.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/0.3036, allocations: 0.7093 MB / 451.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.3037, allocations: 123 kB / 451.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.3038, allocations: 142.5 kB / 451.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.3041, allocations: 382.8 kB / 451.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/0.3044, allocations: 145.9 kB / 451.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/0.305, allocations: 0.5549 MB / 452.5 MB, free: 0.875 MB / 350.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.001162/0.3061, allocations: 0.7982 MB / 453.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.3062, allocations: 8 kB / 453.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001379/0.3075, allocations: 0.7954 MB / 454.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3076, allocations: 15.44 kB / 454.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.3076, allocations: 16 kB / 454.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002614/0.3078, allocations: 81.62 kB / 454.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/0.3084, allocations: 179.7 kB / 454.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/0.3111, allocations: 3.065 MB / 457.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.3116, allocations: 40.12 kB / 457.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/0.3116, allocations: 43.98 kB / 457.5 MB, free: 11.43 MB / 366.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.0004454/0.3121, allocations: 269.5 kB / 457.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.3122, allocations: 75.47 kB / 457.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.3123, allocations: 78.47 kB / 457.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.3123, allocations: 4 kB / 457.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.3123, allocations: 7.875 kB / 457.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3123, allocations: 0 / 457.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.314, allocations: 1.059 MB / 459 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3141, allocations: 3.984 kB / 459 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.3144, allocations: 68 kB / 459.1 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000168/0.3145, allocations: 61.7 kB / 459.1 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.3146, allocations: 8 kB / 459.1 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.3169, allocations: 2.793 MB / 461.9 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3169, allocations: 0 / 461.9 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.3179, allocations: 0.6317 MB / 462.5 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.318, allocations: 71.47 kB / 462.6 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.3181, allocations: 8 kB / 462.6 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.3184, allocations: 27.98 kB / 462.7 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.3184, allocations: 23.95 kB / 462.7 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.3184, allocations: 11.94 kB / 462.7 MB, free: 5.922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005611/0.319, allocations: 431 kB / 463.1 MB, free: 5.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.319, allocations: 0 / 463.1 MB, free: 5.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009153/0.3199, allocations: 160 kB / 463.3 MB, free: 5.348 MB / 366.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.000145/0.3201, allocations: 107.1 kB / 463.4 MB, free: 5.234 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.3212, allocations: 0.6248 MB / 464 MB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3212, allocations: 0 / 464 MB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005179/0.3217, allocations: 357.1 kB / 464.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.3223, allocations: 72.17 kB / 464.4 MB, free: 4.145 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.3255, allocations: 1.886 MB / 466.3 MB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.326, allocations: 450.9 kB / 466.7 MB, free: 1.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.3261, allocations: 75.28 kB / 466.8 MB, free: 1.66 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3261, allocations: 0 / 466.8 MB, free: 1.66 MB / 366.1 MB Notification: Performance of Templates: time 0.02549/0.3516, allocations: 20 MB / 486.8 MB, free: 13.64 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.254206450656056]