Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009106/0.0009106, allocations: 177.3 kB / 16.71 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 225.7 MB / 243.2 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008512/0.000851, allocations: 89.33 kB / 294.3 MB, free: 9.508 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.0002798, allocations: 4 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.229, allocations: 50.43 MB / 404.6 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00432/0.2334, allocations: 5.147 MB / 409.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002557/0.236, allocations: 1.959 MB / 411.7 MB, free: 24.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004671/0.2365, allocations: 27.88 kB / 411.7 MB, free: 24.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.2368, allocations: 182.5 kB / 411.9 MB, free: 23.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.2372, allocations: 179.7 kB / 412.1 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007444/0.2379, allocations: 443.1 kB / 412.5 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008658/0.2388, allocations: 1.306 MB / 413.8 MB, free: 21.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006089/0.2394, allocations: 0.5413 MB / 414.3 MB, free: 21.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003108/0.2398, allocations: 374.1 kB / 414.7 MB, free: 21.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.2401, allocations: 413.3 kB / 415.1 MB, free: 20.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.586e-05/0.2401, allocations: 52 kB / 415.2 MB, free: 20.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.2403, allocations: 56 kB / 415.2 MB, free: 20.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.2404, allocations: 179.1 kB / 415.4 MB, free: 20.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.2407, allocations: 0.5453 MB / 415.9 MB, free: 19.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008304/0.2416, allocations: 1.414 MB / 417.4 MB, free: 18.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.2416, allocations: 0 / 417.4 MB, free: 18.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2416, allocations: 0 / 417.4 MB, free: 18.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.2416, allocations: 0 / 417.4 MB, free: 18.38 MB / 298.7 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.001367/0.243, allocations: 1.236 MB / 418.6 MB, free: 17.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.243, allocations: 12.03 kB / 418.6 MB, free: 17.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.2432, allocations: 138.3 kB / 418.7 MB, free: 16.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007383/0.2439, allocations: 0.7198 MB / 419.5 MB, free: 16.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.244, allocations: 86.41 kB / 419.5 MB, free: 16.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.2441, allocations: 120 kB / 419.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.2456, allocations: 1.26 MB / 420.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/0.2457, allocations: 7.938 kB / 420.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.64e-05/0.2458, allocations: 56 kB / 421 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.2458, allocations: 35.98 kB / 421 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.2468, allocations: 0.689 MB / 421.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004136/0.251, allocations: 6.832 MB / 428.5 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.2516, allocations: 277.2 kB / 428.8 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.2519, allocations: 185.6 kB / 429 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.252, allocations: 81.11 kB / 429.1 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.2521, allocations: 34.56 kB / 429.1 MB, free: 5.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 2.544e-06/0.2521, allocations: 8 kB / 429.1 MB, free: 5.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001974/0.254, allocations: 1.405 MB / 430.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.2541, allocations: 85.11 kB / 430.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.2546, allocations: 0.6491 MB / 431.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.2547, allocations: 33.7 kB / 431.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.2549, allocations: 0.6797 MB / 432 MB, free: 2.961 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/0.255, allocations: 122.5 kB / 432.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.255, allocations: 12 kB / 432.1 MB, free: 2.828 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.478e-05/0.2551, allocations: 386.8 kB / 432.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.2553, allocations: 149.9 kB / 432.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.2557, allocations: 0.5507 MB / 433.2 MB, free: 1.543 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacitor1.capacitor.v = $START.inverseCapacitor1.capacitor.v ($START.directCapacitor1.currentToVoltage.y = $START.inverseCapacitor1.capacitor.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseInductor3.inductor.i = $START.inverseInductor3.inductor.i ($START.directInductor3.currentToVoltage.y = $START.inverseInductor3.inductor.i) Notification: Performance of analyzeInitialSystem (initialization): time 0.000806/0.2565, allocations: 0.962 MB / 434.1 MB, free: 352 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.2565, allocations: 8 kB / 434.1 MB, free: 344 kB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001168/0.2577, allocations: 0.7953 MB / 434.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.2577, allocations: 16.06 kB / 434.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.2578, allocations: 16 kB / 435 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/0.258, allocations: 77.69 kB / 435 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.2586, allocations: 187.9 kB / 435.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/0.261, allocations: 2.978 MB / 438.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.2614, allocations: 36.19 kB / 438.2 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.2614, allocations: 48 kB / 438.3 MB, free: 11.9 MB / 314.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: inverseCapacitor1.capacitor.v = $START.inverseCapacitor1.capacitor.v inverseInductor3.inductor.i = $START.inverseInductor3.inductor.i. 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.0004112/0.2618, allocations: 274.2 kB / 438.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.2619, allocations: 75.06 kB / 438.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.2621, allocations: 78.34 kB / 438.7 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2621, allocations: 4 kB / 438.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.2621, allocations: 0 / 438.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.2621, allocations: 8 kB / 438.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.2638, allocations: 1.259 MB / 440 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2638, allocations: 0 / 440 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.2641, allocations: 67.89 kB / 440 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/0.2643, allocations: 61.62 kB / 440.1 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.2643, allocations: 12.09 kB / 440.1 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.2663, allocations: 2.783 MB / 442.9 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2663, allocations: 0 / 442.9 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008583/0.2672, allocations: 0.6443 MB / 443.5 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-05/0.2673, allocations: 136.2 kB / 443.7 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.2674, allocations: 8.062 kB / 443.7 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.2676, allocations: 19.98 kB / 443.7 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.2677, allocations: 31.84 kB / 443.7 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.2677, allocations: 12 kB / 443.7 MB, free: 6.031 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004754/0.2682, allocations: 427 kB / 444.2 MB, free: 5.621 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2682, allocations: 0 / 444.2 MB, free: 5.621 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008166/0.2691, allocations: 156 kB / 444.3 MB, free: 5.469 MB / 314.7 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.0001516/0.2692, allocations: 115.2 kB / 444.4 MB, free: 5.348 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.2702, allocations: 0.6564 MB / 445.1 MB, free: 4.668 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2703, allocations: 0 / 445.1 MB, free: 4.668 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004533/0.2707, allocations: 361.6 kB / 445.4 MB, free: 4.289 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.2713, allocations: 87.62 kB / 445.5 MB, free: 4.203 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.2743, allocations: 2.437 MB / 448 MB, free: 1.723 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.2749, allocations: 1.034 MB / 449 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002674/0.2751, allocations: 86.02 kB / 449.1 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.2753, allocations: 63.36 kB / 449.1 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2753, allocations: 0 / 449.1 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of Templates: time 0.01046/0.2857, allocations: 5.133 MB / 454.3 MB, free: 11.4 MB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches