Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 115.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001809/0.001809, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 227.4 MB / 247.6 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 67.89 kB / 359.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3351, allocations: 50.54 MB / 410 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007966/0.3432, allocations: 6.016 MB / 416 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.3473, allocations: 1.726 MB / 417.7 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.3485, allocations: 31.88 kB / 417.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007262/0.3493, allocations: 253.5 kB / 418 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009941/0.3503, allocations: 217.8 kB / 418.2 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.3519, allocations: 0.5149 MB / 418.7 MB, free: 8.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002274/0.3541, allocations: 1.407 MB / 420.1 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.3553, allocations: 0.6208 MB / 420.7 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008993/0.3562, allocations: 482.1 kB / 421.2 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006601/0.3568, allocations: 0.4934 MB / 421.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.357, allocations: 124 kB / 421.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.3574, allocations: 136 kB / 422 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.3576, allocations: 271 kB / 422.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005699/0.3582, allocations: 0.6139 MB / 422.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.3601, allocations: 1.624 MB / 424.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.181e-05/0.3601, allocations: 0 / 424.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.347e-06/0.3601, allocations: 0 / 424.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.342e-05/0.3602, allocations: 0 / 424.5 MB, free: 2.934 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.002579/0.3628, allocations: 1.47 MB / 425.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.3628, allocations: 8.031 kB / 425.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004324/0.3633, allocations: 158.2 kB / 426.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.3647, allocations: 0.7628 MB / 426.8 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.611e-05/0.3648, allocations: 86.41 kB / 426.9 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.3649, allocations: 119.9 kB / 427.1 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.367, allocations: 1.268 MB / 428.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/0.3671, allocations: 11.94 kB / 428.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.846e-05/0.3672, allocations: 56 kB / 428.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.3672, allocations: 32 kB / 428.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.3685, allocations: 0.6851 MB / 429.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006826/0.3754, allocations: 6.769 MB / 435.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007369/0.3762, allocations: 277.4 kB / 436.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003895/0.3766, allocations: 181.9 kB / 436.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.3767, allocations: 81.11 kB / 436.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.3768, allocations: 34.56 kB / 436.4 MB, free: 6.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.916e-06/0.3768, allocations: 4 kB / 436.4 MB, free: 6.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002668/0.3795, allocations: 1.402 MB / 437.8 MB, free: 4.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.3795, allocations: 85.11 kB / 437.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007906/0.3803, allocations: 0.6609 MB / 438.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.3804, allocations: 33.64 kB / 438.6 MB, free: 3.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/0.3808, allocations: 0.6914 MB / 439.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.481e-05/0.3809, allocations: 114.5 kB / 439.4 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.3811, allocations: 142.4 kB / 439.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.3813, allocations: 386.7 kB / 439.9 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.3816, allocations: 145.9 kB / 440.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.3822, allocations: 0.5468 MB / 440.6 MB, free: 1.73 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.001184/0.3834, allocations: 0.9534 MB / 441.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.3834, allocations: 4 kB / 441.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00132/0.3847, allocations: 0.7974 MB / 442.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.3847, allocations: 8.781 kB / 442.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/0.3848, allocations: 23.92 kB / 442.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002663/0.3851, allocations: 85.69 kB / 442.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005803/0.3857, allocations: 187.7 kB / 442.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/0.3885, allocations: 3.316 MB / 446 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.389, allocations: 39.98 kB / 446 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.3891, allocations: 40 kB / 446.1 MB, free: 11.75 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.000565/0.3896, allocations: 281.3 kB / 446.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.3898, allocations: 75.06 kB / 446.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.3899, allocations: 74.34 kB / 446.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3899, allocations: 3.938 kB / 446.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3899, allocations: 0 / 446.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.3901, allocations: 140.2 kB / 446.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.3901, allocations: 4 kB / 446.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.3904, allocations: 19.98 kB / 446.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.754e-05/0.3905, allocations: 27.89 kB / 446.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001008/0.3915, allocations: 0.5131 MB / 447.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008377/0.3923, allocations: 0.6688 MB / 447.9 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000193/0.3925, allocations: 111.3 kB / 448 MB, free: 9.793 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005085/0.3931, allocations: 435 kB / 448.4 MB, free: 9.371 MB / 366.1 MB Notification: Performance of Backend: time 5.61e-07/0.3931, allocations: 0 / 448.4 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.3946, allocations: 0.6629 MB / 449.1 MB, free: 8.68 MB / 366.1 MB Notification: Performance of SimCode: time 0.003535/0.3982, allocations: 2.347 MB / 451.4 MB, free: 6.273 MB / 366.1 MB Notification: Performance of Templates: time 0.01515/0.4134, allocations: 6.119 MB / 457.5 MB, free: 196 kB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches