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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 325 MB, free: 460 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.164e-05, allocations: 2.281 kB / 325 MB, free: 456 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007399/0.00742, allocations: 5.304 MB / 330.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003858/0.01128, allocations: 1.69 MB / 332 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004591/0.01174, allocations: 42.5 kB / 332.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005191/0.01226, allocations: 256.6 kB / 332.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005152/0.01277, allocations: 236.5 kB / 332.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.01388, allocations: 0.5201 MB / 333.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00162/0.0155, allocations: 1.438 MB / 334.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007042/0.0162, allocations: 417.2 kB / 334.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009789/0.01718, allocations: 0.7243 MB / 335.6 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.01771, allocations: 336 kB / 336 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.01793, allocations: 122 kB / 336.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.01822, allocations: 142.9 kB / 336.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.01848, allocations: 270.1 kB / 336.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004651/0.01894, allocations: 394.1 kB / 336.9 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.02093, allocations: 1.629 MB / 338.5 MB, free: 7.141 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.02094, allocations: 4 kB / 338.5 MB, free: 7.137 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.02094, allocations: 0 / 338.5 MB, free: 7.137 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.622e-05/0.02096, allocations: 1.156 kB / 338.5 MB, free: 7.137 MB / 302.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.002529/0.02349, allocations: 1.413 MB / 339.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.02354, allocations: 8.031 kB / 339.9 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004102/0.02395, allocations: 163 kB / 340.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.02525, allocations: 0.6873 MB / 340.8 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.02538, allocations: 90.41 kB / 340.9 MB, free: 5.059 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.02555, allocations: 119.9 kB / 341 MB, free: 4.941 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.02774, allocations: 1.318 MB / 342.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.02778, allocations: 11.89 kB / 342.3 MB, free: 3.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.682e-05/0.02787, allocations: 48 kB / 342.4 MB, free: 3.383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.0279, allocations: 35.98 kB / 342.4 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.02927, allocations: 0.689 MB / 343.1 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006172/0.03544, allocations: 6.274 MB / 349.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/0.03615, allocations: 249.2 kB / 349.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.03654, allocations: 165.5 kB / 349.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.906e-05/0.03664, allocations: 12.5 kB / 349.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.03668, allocations: 38.55 kB / 349.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.512e-06/0.03668, allocations: 0 / 349.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.002492/0.03917, allocations: 1.285 MB / 351.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.03923, allocations: 81.11 kB / 351.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007807/0.04001, allocations: 0.6801 MB / 351.9 MB, free: 9.426 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.04004, allocations: 29.7 kB / 351.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005087/0.04055, allocations: 0.7016 MB / 352.6 MB, free: 8.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.04066, allocations: 127 kB / 352.7 MB, free: 8.555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.04085, allocations: 138.5 kB / 352.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.04107, allocations: 394.7 kB / 353.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.04136, allocations: 141.9 kB / 353.4 MB, free: 7.879 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006445/0.04201, allocations: 0.551 MB / 353.9 MB, free: 7.129 MB / 318.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.001142/0.04315, allocations: 0.8098 MB / 354.7 MB, free: 6.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.04316, allocations: 4 kB / 354.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001305/0.04446, allocations: 0.7841 MB / 355.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.04448, allocations: 12 kB / 355.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.0445, allocations: 16 kB / 355.6 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/0.04475, allocations: 81.67 kB / 355.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.04529, allocations: 183.7 kB / 355.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.04796, allocations: 3.064 MB / 358.9 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.04832, allocations: 32 kB / 358.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.04837, allocations: 43.98 kB / 359 MB, free: 1.691 MB / 318.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.000371/0.04874, allocations: 265.6 kB / 359.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.04886, allocations: 79.48 kB / 359.3 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.04898, allocations: 78.34 kB / 359.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.04898, allocations: 7.938 kB / 359.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.04899, allocations: 3.938 kB / 359.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.049, allocations: 3.984 kB / 359.4 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.05064, allocations: 1.048 MB / 360.4 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.05065, allocations: 8.031 kB / 360.4 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.05097, allocations: 63.95 kB / 360.5 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001552/0.05113, allocations: 53.62 kB / 360.6 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.05115, allocations: 15.88 kB / 360.6 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/0.05338, allocations: 2.786 MB / 363.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.05339, allocations: 7.969 kB / 363.4 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009275/0.05431, allocations: 0.6249 MB / 364 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.0544, allocations: 71.53 kB / 364.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.05446, allocations: 8 kB / 364.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.05472, allocations: 23.98 kB / 364.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.05479, allocations: 23.95 kB / 364.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.05481, allocations: 8 kB / 364.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005073/0.05532, allocations: 443 kB / 364.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.05532, allocations: 0 / 364.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008137/0.05613, allocations: 152 kB / 364.7 MB, free: 11.64 MB / 334.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.0001381/0.05627, allocations: 109.6 kB / 364.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.05738, allocations: 0.6435 MB / 365.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.05738, allocations: 0 / 365.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005109/0.05789, allocations: 345.5 kB / 365.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.05844, allocations: 79.61 kB / 365.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.06149, allocations: 1.709 MB / 367.6 MB, free: 8.664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.06199, allocations: 458.6 kB / 368 MB, free: 8.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002309/0.06222, allocations: 81.94 kB / 368.1 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.06239, allocations: 68.47 kB / 368.2 MB, free: 8.031 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.06239, allocations: 0 / 368.2 MB, free: 8.031 MB / 334.1 MB Notification: Performance of Templates: time 0.01365/0.07604, allocations: 5.207 MB / 373.4 MB, free: 2.945 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.509001079946756]