Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001924/0.001924, allocations: 116 kB / 18.45 MB, free: 4.605 MB / 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.002086/0.002086, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 51.92 kB / 374.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1096, allocations: 53.32 MB / 427.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.2194/0.329, allocations: 6.038 MB / 433.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004282/0.3333, allocations: 1.734 MB / 435.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.3344, allocations: 40.53 kB / 435.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000723/0.3351, allocations: 253 kB / 435.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008071/0.3359, allocations: 216.5 kB / 435.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.3373, allocations: 0.5142 MB / 436.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001914/0.3392, allocations: 1.393 MB / 437.7 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009034/0.3401, allocations: 451.2 kB / 438.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009107/0.341, allocations: 499.8 kB / 438.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006425/0.3417, allocations: 0.4963 MB / 439.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.3419, allocations: 123.1 kB / 439.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.3422, allocations: 137.2 kB / 439.4 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.3424, allocations: 263.4 kB / 439.6 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005357/0.343, allocations: 0.6108 MB / 440.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.3454, allocations: 1.643 MB / 441.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3455, allocations: 0.6562 kB / 441.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3455, allocations: 0 / 441.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.135e-05/0.3455, allocations: 1.562 kB / 441.9 MB, free: 4.734 MB / 350.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.002723/0.3482, allocations: 1.497 MB / 443.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3483, allocations: 9.406 kB / 443.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005768/0.3489, allocations: 167.8 kB / 443.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.3505, allocations: 0.7689 MB / 444.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.744e-05/0.3506, allocations: 88.17 kB / 444.4 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.3508, allocations: 122.8 kB / 444.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/0.3536, allocations: 1.272 MB / 445.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.677e-05/0.3536, allocations: 6.906 kB / 445.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.3537, allocations: 58.22 kB / 445.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.3538, allocations: 32.34 kB / 445.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.3556, allocations: 0.6918 MB / 446.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006668/0.3623, allocations: 6.792 MB / 453.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007224/0.363, allocations: 256.8 kB / 453.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.3634, allocations: 157.5 kB / 453.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.3635, allocations: 85.22 kB / 453.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.3635, allocations: 41.86 kB / 453.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.754e-06/0.3635, allocations: 0 / 453.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.00274/0.3663, allocations: 1.428 MB / 455.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.3664, allocations: 81.56 kB / 455.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008749/0.3672, allocations: 0.6689 MB / 456.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.3673, allocations: 32.12 kB / 456.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005427/0.3678, allocations: 0.7045 MB / 456.8 MB, free: 9.812 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.3679, allocations: 119.2 kB / 456.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.3681, allocations: 141.6 kB / 457.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002338/0.3684, allocations: 391.2 kB / 457.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.3687, allocations: 144.7 kB / 457.6 MB, free: 9.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000653/0.3693, allocations: 0.5445 MB / 458.1 MB, free: 8.645 MB / 366.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.001295/0.3706, allocations: 0.9536 MB / 459.1 MB, free: 7.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.3706, allocations: 4.625 kB / 459.1 MB, free: 7.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001447/0.3721, allocations: 0.7971 MB / 459.9 MB, free: 7.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.3721, allocations: 15.09 kB / 459.9 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.3721, allocations: 15.03 kB / 459.9 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00028/0.3724, allocations: 82.64 kB / 460 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.3729, allocations: 187.7 kB / 460.2 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003011/0.3759, allocations: 3.333 MB / 463.5 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005141/0.3765, allocations: 32.22 kB / 463.5 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.3765, allocations: 39.34 kB / 463.6 MB, free: 4.02 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.0004886/0.377, allocations: 277.5 kB / 463.9 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.3771, allocations: 74.53 kB / 463.9 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.3773, allocations: 70.95 kB / 464 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3773, allocations: 3.656 kB / 464 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.3773, allocations: 2.062 kB / 464 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3773, allocations: 2.109 kB / 464 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.3793, allocations: 1.259 MB / 465.3 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.3793, allocations: 2 kB / 465.3 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.3796, allocations: 64.12 kB / 465.3 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.3798, allocations: 60.67 kB / 465.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.3799, allocations: 9.312 kB / 465.4 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.3825, allocations: 3.06 MB / 468.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3825, allocations: 1.156 kB / 468.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3835, allocations: 0.6368 MB / 469.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.3837, allocations: 142.4 kB / 469.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.375e-05/0.3837, allocations: 17.42 kB / 469.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.384, allocations: 16.81 kB / 469.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.823e-05/0.3841, allocations: 31.03 kB / 469.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.3841, allocations: 10.48 kB / 469.3 MB, free: 15.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006356/0.3848, allocations: 436.4 kB / 469.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3848, allocations: 0 / 469.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001061/0.3858, allocations: 155 kB / 469.9 MB, free: 14.93 MB / 382.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.000163/0.386, allocations: 116.2 kB / 470 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.3872, allocations: 0.6349 MB / 470.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3872, allocations: 2.062 kB / 470.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005167/0.3877, allocations: 356.8 kB / 471 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.3883, allocations: 75.83 kB / 471.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.3918, allocations: 1.9 MB / 473 MB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007585/0.3926, allocations: 1.034 MB / 474 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.3927, allocations: 60.39 kB / 474 MB, free: 11.95 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3927, allocations: 0 / 474 MB, free: 11.95 MB / 382.1 MB Notification: Performance of Templates: time 0.02641/0.4191, allocations: 19.73 MB / 493.8 MB, free: 12.22 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.53150893599377]