Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 107.1 kB / 19.75 MB, free: 2.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002614/0.002614, allocations: 189.5 kB / 22.93 MB, free: 5.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 54.73 kB / 345.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4508/0.4526, allocations: 49.12 MB / 394.5 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008988/0.4616, allocations: 5.993 MB / 400.5 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006078/0.4677, allocations: 1.709 MB / 402.2 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.4695, allocations: 29.69 kB / 402.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000846/0.4703, allocations: 252 kB / 402.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.4714, allocations: 222.9 kB / 402.7 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.473, allocations: 0.5043 MB / 403.2 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003355/0.4764, allocations: 1.387 MB / 404.6 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.4775, allocations: 449 kB / 405.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.4788, allocations: 485.6 kB / 405.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.4799, allocations: 0.4939 MB / 406 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002786/0.4801, allocations: 125.9 kB / 406.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000444/0.4806, allocations: 134.6 kB / 406.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000305/0.4809, allocations: 267.4 kB / 406.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007636/0.4817, allocations: 0.6058 MB / 407.1 MB, free: 1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003082/0.4847, allocations: 1.63 MB / 408.8 MB, free: 320 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.4847, allocations: 0.9844 kB / 408.8 MB, free: 320 kB / 318.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.4848, allocations: 1.375 kB / 408.8 MB, free: 320 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.697e-05/0.4848, allocations: 0 / 408.8 MB, free: 320 kB / 318.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.003196/0.488, allocations: 1.496 MB / 410.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.047e-05/0.4881, allocations: 13.67 kB / 410.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004245/0.4885, allocations: 148.4 kB / 410.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.4904, allocations: 0.7683 MB / 411.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.4905, allocations: 85.66 kB / 411.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/0.4907, allocations: 125.9 kB / 411.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/0.4934, allocations: 1.268 MB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.281e-05/0.4934, allocations: 6.875 kB / 412.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.4935, allocations: 55.06 kB / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/0.4936, allocations: 32.06 kB / 412.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.4954, allocations: 0.6855 MB / 413.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008528/0.5039, allocations: 6.788 MB / 420.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008258/0.5047, allocations: 251.2 kB / 420.5 MB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/0.5051, allocations: 158.6 kB / 420.6 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.5053, allocations: 82.05 kB / 420.7 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.5053, allocations: 45.25 kB / 420.8 MB, free: 6.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.895e-06/0.5053, allocations: 0 / 420.8 MB, free: 6.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.003168/0.5085, allocations: 1.425 MB / 422.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/0.5086, allocations: 84.39 kB / 422.3 MB, free: 5.059 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.5099, allocations: 0.662 MB / 422.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.5099, allocations: 32.02 kB / 423 MB, free: 4.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006304/0.5105, allocations: 0.6953 MB / 423.7 MB, free: 4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.5107, allocations: 131.4 kB / 423.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/0.5109, allocations: 143 kB / 423.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002712/0.5112, allocations: 390.7 kB / 424.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.5115, allocations: 144 kB / 424.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007579/0.5123, allocations: 0.545 MB / 425 MB, free: 2.723 MB / 334.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.001543/0.5138, allocations: 0.9607 MB / 426 MB, free: 1.742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.5139, allocations: 4.5 kB / 426 MB, free: 1.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001721/0.5156, allocations: 0.7887 MB / 426.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.5156, allocations: 16.08 kB / 426.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/0.5156, allocations: 18.16 kB / 426.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003129/0.516, allocations: 86.09 kB / 426.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.5166, allocations: 179.4 kB / 427 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003433/0.52, allocations: 3.325 MB / 430.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006811/0.5207, allocations: 30.03 kB / 430.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.224e-05/0.5208, allocations: 47.62 kB / 430.4 MB, free: 13.87 MB / 350.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.0007041/0.5215, allocations: 286.5 kB / 430.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.5216, allocations: 74.03 kB / 430.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.5218, allocations: 70.94 kB / 430.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5218, allocations: 3.5 kB / 430.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.5218, allocations: 2.656 kB / 430.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.5218, allocations: 3.984 kB / 430.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/0.5245, allocations: 1.249 MB / 432.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/0.5245, allocations: 1.625 kB / 432.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.5248, allocations: 68.05 kB / 432.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/0.525, allocations: 61.7 kB / 432.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.5251, allocations: 11.98 kB / 432.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003159/0.5282, allocations: 3.053 MB / 435.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.5282, allocations: 0 / 435.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.5295, allocations: 0.6355 MB / 436 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.5297, allocations: 140.7 kB / 436.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.456e-05/0.5298, allocations: 8 kB / 436.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.5301, allocations: 23.92 kB / 436.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.5302, allocations: 31.84 kB / 436.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.5302, allocations: 8 kB / 436.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007711/0.531, allocations: 439 kB / 436.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.531, allocations: 0 / 436.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001319/0.5323, allocations: 156 kB / 436.7 MB, free: 7.641 MB / 350.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.0002075/0.5325, allocations: 111.1 kB / 436.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.534, allocations: 0.6448 MB / 437.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.534, allocations: 4 kB / 437.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005602/0.5345, allocations: 349.5 kB / 437.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.5351, allocations: 75.56 kB / 437.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.5395, allocations: 1.855 MB / 439.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.5407, allocations: 1.034 MB / 440.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003312/0.541, allocations: 86.02 kB / 440.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.5412, allocations: 59.41 kB / 440.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of SimCode: time 1.833e-06/0.5412, allocations: 0 / 440.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of Templates: time 0.01606/0.5572, allocations: 5.82 MB / 446.8 MB, free: 13.48 MB / 366.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.65128162316978]