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.00153/0.00153, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001701/0.001701, allocations: 215.4 kB / 24.48 MB, free: 3.941 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 2.425/2.425, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 177] 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.001743/0.001743, allocations: 51.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3818, allocations: 53.36 MB / 432.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.009501/0.3913, allocations: 5.295 MB / 437.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.3959, allocations: 1.687 MB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007495/0.3967, allocations: 43.69 kB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007201/0.3974, allocations: 253.5 kB / 439.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006849/0.3981, allocations: 213.8 kB / 439.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.3995, allocations: 0.5265 MB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.4014, allocations: 1.395 MB / 441.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009248/0.4023, allocations: 448 kB / 442.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007814/0.4031, allocations: 494.1 kB / 442.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006538/0.4038, allocations: 0.4973 MB / 443.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.4039, allocations: 120 kB / 443.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.4042, allocations: 140 kB / 443.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.4045, allocations: 267 kB / 443.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005333/0.405, allocations: 493.4 kB / 444.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.4071, allocations: 1.644 MB / 445.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.679e-06/0.4071, allocations: 0 / 445.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4071, allocations: 0 / 445.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.522e-05/0.4071, allocations: 3.938 kB / 445.8 MB, free: 9.141 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.003065/0.4102, allocations: 1.428 MB / 447.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.4102, allocations: 12.03 kB / 447.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005/0.4107, allocations: 167 kB / 447.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.4123, allocations: 0.6873 MB / 448.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.922e-05/0.4124, allocations: 94.41 kB / 448.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.4126, allocations: 116 kB / 448.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002612/0.4153, allocations: 1.318 MB / 449.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.695e-05/0.4153, allocations: 7.938 kB / 449.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.4154, allocations: 52 kB / 449.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.603e-05/0.4155, allocations: 32 kB / 449.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.4172, allocations: 0.6929 MB / 450.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007608/0.4248, allocations: 6.287 MB / 456.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008442/0.4256, allocations: 253.2 kB / 456.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.4261, allocations: 161.6 kB / 457.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.4262, allocations: 8 kB / 457.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.4262, allocations: 42.56 kB / 457.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.554e-06/0.4262, allocations: 0 / 457.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.003088/0.4293, allocations: 1.275 MB / 458.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.4294, allocations: 88.98 kB / 458.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009781/0.4304, allocations: 0.6763 MB / 459.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.4304, allocations: 29.7 kB / 459.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006064/0.431, allocations: 0.7094 MB / 459.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.4311, allocations: 123 kB / 460 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.4314, allocations: 142.5 kB / 460.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.4316, allocations: 382.8 kB / 460.6 MB, free: 9.656 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.4319, allocations: 145.9 kB / 460.7 MB, free: 9.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007578/0.4327, allocations: 0.5511 MB / 461.3 MB, free: 8.766 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.001472/0.4342, allocations: 0.8107 MB / 462.1 MB, free: 7.758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.4342, allocations: 7.938 kB / 462.1 MB, free: 7.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001602/0.4358, allocations: 0.7982 MB / 462.9 MB, free: 6.941 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.4358, allocations: 8 kB / 462.9 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.4358, allocations: 16 kB / 462.9 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002643/0.4361, allocations: 77.69 kB / 463 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/0.4369, allocations: 183.7 kB / 463.2 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/0.4402, allocations: 3.08 MB / 466.2 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/0.4408, allocations: 28 kB / 466.3 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.4409, allocations: 40 kB / 466.3 MB, free: 3.309 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.0005479/0.4414, allocations: 273.6 kB / 466.6 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.4416, allocations: 83.42 kB / 466.6 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.4417, allocations: 70.34 kB / 466.7 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4417, allocations: 4 kB / 466.7 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.4417, allocations: 0 / 466.7 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4417, allocations: 4 kB / 466.7 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.4439, allocations: 1.062 MB / 467.8 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.4439, allocations: 0 / 467.8 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/0.4444, allocations: 59.91 kB / 467.8 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/0.4446, allocations: 65.61 kB / 467.9 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.4446, allocations: 8 kB / 467.9 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002635/0.4472, allocations: 2.801 MB / 470.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4472, allocations: 0 / 470.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.4484, allocations: 0.6326 MB / 471.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.4486, allocations: 59.47 kB / 471.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.4486, allocations: 8.062 kB / 471.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.449, allocations: 20.05 kB / 471.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.859e-05/0.4491, allocations: 31.89 kB / 471.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.4491, allocations: 8 kB / 471.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006721/0.4498, allocations: 435 kB / 471.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4498, allocations: 0 / 471.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001237/0.451, allocations: 156 kB / 472.1 MB, free: 13.25 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.0001602/0.4512, allocations: 107.2 kB / 472.2 MB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.4526, allocations: 0.6434 MB / 472.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4526, allocations: 0 / 472.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005849/0.4532, allocations: 354.6 kB / 473.1 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000707/0.4539, allocations: 79.36 kB / 473.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.4577, allocations: 1.858 MB / 475.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.4582, allocations: 450.9 kB / 475.5 MB, free: 9.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000312/0.4586, allocations: 81.94 kB / 475.6 MB, free: 9.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.4587, allocations: 59.41 kB / 475.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4587, allocations: 0 / 475.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of Templates: time 0.04006/0.4988, allocations: 6.583 MB / 482.2 MB, free: 3.047 MB / 382.1 MB " [Timeout remaining time 659] 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 -s cvode -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: 6.715395278006326]