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.001624/0.001624, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001919/0.001919, allocations: 208.1 kB / 23.73 MB, free: 4.379 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.00227/0.00227, allocations: 51.92 kB / 378.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3223, allocations: 53.36 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007973/0.3303, allocations: 5.285 MB / 436.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00375/0.3341, allocations: 1.695 MB / 438.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000705/0.3348, allocations: 39.69 kB / 438.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005987/0.3354, allocations: 253.5 kB / 438.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000529/0.3359, allocations: 217.8 kB / 439.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.337, allocations: 0.5188 MB / 439.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.3385, allocations: 1.391 MB / 441 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007363/0.3392, allocations: 452 kB / 441.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000672/0.3399, allocations: 0.4904 MB / 441.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005713/0.3405, allocations: 0.4972 MB / 442.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.3406, allocations: 124 kB / 442.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.3409, allocations: 140 kB / 442.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002448/0.3411, allocations: 271 kB / 442.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004693/0.3416, allocations: 485.5 kB / 443.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.3434, allocations: 1.648 MB / 445.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.3434, allocations: 0 / 445.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3434, allocations: 0 / 445.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.3434, allocations: 0 / 445.1 MB, free: 9.164 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.002297/0.3457, allocations: 1.424 MB / 446.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.3458, allocations: 8.031 kB / 446.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004287/0.3462, allocations: 171 kB / 446.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.3475, allocations: 0.6834 MB / 447.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.351e-05/0.3476, allocations: 86.41 kB / 447.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.3478, allocations: 124 kB / 447.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.3499, allocations: 1.318 MB / 448.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.211e-05/0.35, allocations: 11.88 kB / 448.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3501, allocations: 52 kB / 448.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.3501, allocations: 35.94 kB / 449 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.3514, allocations: 0.6929 MB / 449.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006717/0.3581, allocations: 6.295 MB / 455.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/0.3589, allocations: 253.2 kB / 456.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.3592, allocations: 161.3 kB / 456.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.3594, allocations: 8 kB / 456.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.3594, allocations: 34.56 kB / 456.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.946e-06/0.3594, allocations: 4 kB / 456.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002808/0.3622, allocations: 1.27 MB / 457.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.3623, allocations: 85.05 kB / 457.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008416/0.3631, allocations: 0.684 MB / 458.4 MB, free: 11.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.3631, allocations: 29.7 kB / 458.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005371/0.3637, allocations: 0.7094 MB / 459.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.3638, allocations: 123 kB / 459.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.364, allocations: 146.5 kB / 459.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.3642, allocations: 382.8 kB / 459.8 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.3645, allocations: 141.9 kB / 459.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/0.3651, allocations: 0.5511 MB / 460.5 MB, free: 8.789 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.001187/0.3663, allocations: 0.8064 MB / 461.3 MB, free: 7.785 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.3663, allocations: 4 kB / 461.3 MB, free: 7.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001483/0.3678, allocations: 0.7905 MB / 462.1 MB, free: 6.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.3678, allocations: 12 kB / 462.1 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.3679, allocations: 20.06 kB / 462.1 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003006/0.3682, allocations: 89.95 kB / 462.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.3688, allocations: 179.7 kB / 462.4 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/0.3716, allocations: 3.06 MB / 465.5 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.3721, allocations: 36.12 kB / 465.5 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/0.3722, allocations: 44.12 kB / 465.5 MB, free: 3.34 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.0005854/0.3728, allocations: 277.4 kB / 465.8 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.3729, allocations: 87.41 kB / 465.9 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.3731, allocations: 70.34 kB / 466 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3731, allocations: 7.938 kB / 466 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.3731, allocations: 4.062 kB / 466 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3731, allocations: 3.984 kB / 466 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.375, allocations: 1.059 MB / 467 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.375, allocations: 4 kB / 467 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.3753, allocations: 55.97 kB / 467.1 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001863/0.3755, allocations: 69.7 kB / 467.2 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.3755, allocations: 4 kB / 467.2 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002399/0.3779, allocations: 2.785 MB / 469.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.3779, allocations: 4.031 kB / 470 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.3789, allocations: 0.6326 MB / 470.6 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.379, allocations: 67.53 kB / 470.7 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.3791, allocations: 8 kB / 470.7 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.3794, allocations: 15.98 kB / 470.7 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.79e-05/0.3794, allocations: 31.83 kB / 470.7 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.3795, allocations: 8 kB / 470.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006158/0.3801, allocations: 443 kB / 471.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3801, allocations: 0 / 471.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001015/0.3811, allocations: 156 kB / 471.3 MB, free: 13.26 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.0001588/0.3813, allocations: 102.3 kB / 471.4 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.3825, allocations: 0.6483 MB / 472 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3825, allocations: 0 / 472 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005272/0.383, allocations: 349.1 kB / 472.4 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.3836, allocations: 82.03 kB / 472.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.3869, allocations: 1.856 MB / 474.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.3874, allocations: 454.8 kB / 474.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002519/0.3877, allocations: 85.92 kB / 474.9 MB, free: 9.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.3878, allocations: 59.41 kB / 474.9 MB, free: 9.523 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3878, allocations: 0 / 474.9 MB, free: 9.523 MB / 382.1 MB Notification: Performance of Templates: time 0.01551/0.4033, allocations: 6.572 MB / 481.5 MB, free: 3.074 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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: 4.870212383102626]