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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 106.3 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009772/0.0009772, allocations: 51.92 kB / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2206, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006613/0.2273, allocations: 5.993 MB / 407.4 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.2297, allocations: 1.656 MB / 409.1 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.2301, allocations: 27.88 kB / 409.1 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.2305, allocations: 249.6 kB / 409.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.2309, allocations: 221.7 kB / 409.6 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008199/0.2317, allocations: 0.4994 MB / 410.1 MB, free: 180 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.2329, allocations: 1.399 MB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007533/0.2337, allocations: 0.6169 MB / 412.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.2342, allocations: 482.1 kB / 412.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.2346, allocations: 0.4895 MB / 413 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.2348, allocations: 120 kB / 413.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.235, allocations: 147.9 kB / 413.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.2352, allocations: 259.1 kB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004445/0.2357, allocations: 0.61 MB / 414.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.2369, allocations: 1.62 MB / 415.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2369, allocations: 7.938 kB / 415.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2369, allocations: 0 / 415.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.237, allocations: 0 / 415.8 MB, free: 10.4 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.001887/0.2388, allocations: 1.458 MB / 417.3 MB, free: 8.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.2389, allocations: 8.031 kB / 417.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.2391, allocations: 138.3 kB / 417.4 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.2401, allocations: 0.7511 MB / 418.1 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.228e-05/0.2402, allocations: 98.34 kB / 418.2 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.2404, allocations: 123.9 kB / 418.4 MB, free: 7.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.2422, allocations: 1.268 MB / 419.6 MB, free: 6.297 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.2423, allocations: 7.938 kB / 419.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.983e-05/0.2424, allocations: 51.98 kB / 419.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.2424, allocations: 32 kB / 419.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.2436, allocations: 0.689 MB / 420.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005438/0.2491, allocations: 6.781 MB / 427.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000636/0.2497, allocations: 265.3 kB / 427.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003642/0.2501, allocations: 187.6 kB / 427.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.2502, allocations: 85.11 kB / 427.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.2503, allocations: 30.56 kB / 427.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.713e-06/0.2503, allocations: 0 / 427.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002249/0.2525, allocations: 1.397 MB / 429.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.2526, allocations: 81.11 kB / 429.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000701/0.2533, allocations: 0.6568 MB / 429.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.2533, allocations: 37.7 kB / 429.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004/0.2537, allocations: 0.6798 MB / 430.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.771e-05/0.2538, allocations: 126.4 kB / 430.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.254, allocations: 142.4 kB / 430.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2542, allocations: 382.8 kB / 431.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.2544, allocations: 149.9 kB / 431.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004856/0.2549, allocations: 0.5506 MB / 431.9 MB, free: 9.238 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.001058/0.256, allocations: 0.9693 MB / 432.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.256, allocations: 4 kB / 432.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001216/0.2572, allocations: 0.7977 MB / 433.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2573, allocations: 12 kB / 433.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.2573, allocations: 12 kB / 433.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002259/0.2575, allocations: 77.69 kB / 433.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.2581, allocations: 188.2 kB / 434 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.2605, allocations: 3.324 MB / 437.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.2609, allocations: 32 kB / 437.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.261, allocations: 43.98 kB / 437.4 MB, free: 3.258 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.000378/0.2614, allocations: 269.4 kB / 437.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.2615, allocations: 75.09 kB / 437.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.2616, allocations: 74.47 kB / 437.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2616, allocations: 3.984 kB / 437.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2616, allocations: 0 / 437.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.2617, allocations: 140.2 kB / 437.9 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.2618, allocations: 4 kB / 437.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.2621, allocations: 19.98 kB / 438 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/0.2621, allocations: 23.89 kB / 438 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009988/0.2632, allocations: 0.5092 MB / 438.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007656/0.2639, allocations: 0.6649 MB / 439.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001907/0.2641, allocations: 107.4 kB / 439.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004826/0.2646, allocations: 435 kB / 439.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of Backend: time 6.01e-07/0.2646, allocations: 0 / 439.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.2661, allocations: 0.6617 MB / 440.3 MB, free: 212 kB / 350.1 MB Notification: Performance of SimCode: time 0.002852/0.2689, allocations: 2.35 MB / 442.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Templates: time 0.01221/0.2811, allocations: 6.046 MB / 448.7 MB, free: 7.785 MB / 366.1 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/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) Reference file matches