Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001226/0.001226, allocations: 123.4 kB / 18.46 MB, free: 4.473 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.001218/0.001218, allocations: 192.3 kB / 21.4 MB, free: 1.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.6 MB / 249.8 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 55.91 kB / 366.8 MB, free: 380 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.08895, allocations: 52.13 MB / 419 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00746/0.09641, allocations: 6.031 MB / 425 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.09941, allocations: 1.64 MB / 426.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004984/0.0999, allocations: 27.88 kB / 426.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005243/0.1004, allocations: 249.6 kB / 426.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004756/0.1009, allocations: 229.7 kB / 427.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009258/0.1018, allocations: 0.4993 MB / 427.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.1033, allocations: 1.387 MB / 429 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007023/0.104, allocations: 447.8 kB / 429.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.1045, allocations: 478.1 kB / 429.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005486/0.1051, allocations: 0.4934 MB / 430.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.1052, allocations: 124 kB / 430.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.1054, allocations: 139.9 kB / 430.7 MB, free: 376 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.1057, allocations: 271 kB / 430.9 MB, free: 104 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005422/0.1062, allocations: 0.6062 MB / 431.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.1078, allocations: 1.634 MB / 433.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1078, allocations: 0 / 433.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1078, allocations: 0 / 433.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.1079, allocations: 0 / 433.2 MB, free: 13.85 MB / 366.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.002153/0.11, allocations: 1.5 MB / 434.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1101, allocations: 8.031 kB / 434.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.1103, allocations: 155.1 kB / 434.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.1114, allocations: 0.7594 MB / 435.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-05/0.1115, allocations: 90.41 kB / 435.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.1116, allocations: 116 kB / 435.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.1136, allocations: 1.264 MB / 437.1 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.1136, allocations: 7.938 kB / 437.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-05/0.1137, allocations: 56 kB / 437.1 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/0.1138, allocations: 32 kB / 437.2 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.1151, allocations: 0.689 MB / 437.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006331/0.1214, allocations: 6.794 MB / 444.6 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006705/0.1221, allocations: 253.2 kB / 444.9 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.1225, allocations: 153.6 kB / 445 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.1226, allocations: 93.08 kB / 445.1 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1226, allocations: 34.56 kB / 445.2 MB, free: 1.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.923e-06/0.1226, allocations: 0 / 445.2 MB, free: 1.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.1706/0.2932, allocations: 1.422 MB / 446.6 MB, free: 30.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.2932, allocations: 83.3 kB / 446.7 MB, free: 30.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000768/0.294, allocations: 0.6583 MB / 447.3 MB, free: 29.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.2941, allocations: 33.61 kB / 447.4 MB, free: 29.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.2944, allocations: 0.7049 MB / 448.1 MB, free: 29.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.378e-05/0.2944, allocations: 118.4 kB / 448.2 MB, free: 29.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.2946, allocations: 147.5 kB / 448.3 MB, free: 29.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.2947, allocations: 385.1 kB / 448.7 MB, free: 29.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.295, allocations: 143.7 kB / 448.8 MB, free: 29.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004028/0.2954, allocations: 0.5556 MB / 449.4 MB, free: 28.7 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.0008916/0.2963, allocations: 0.9478 MB / 450.3 MB, free: 28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.2963, allocations: 11.31 kB / 450.4 MB, free: 27.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001173/0.2974, allocations: 0.7927 MB / 451.1 MB, free: 27.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.2975, allocations: 16.88 kB / 451.2 MB, free: 27.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.2975, allocations: 12.38 kB / 451.2 MB, free: 27.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/0.2977, allocations: 79.12 kB / 451.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.2982, allocations: 184.1 kB / 451.4 MB, free: 27.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.3, allocations: 3.332 MB / 454.8 MB, free: 24.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.3004, allocations: 35.42 kB / 454.8 MB, free: 24.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.3005, allocations: 46.02 kB / 454.8 MB, free: 24.8 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.0003697/0.3008, allocations: 274.6 kB / 455.1 MB, free: 24.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3009, allocations: 77.89 kB / 455.2 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.301, allocations: 73.34 kB / 455.3 MB, free: 24.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.301, allocations: 2.75 kB / 455.3 MB, free: 24.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.301, allocations: 2.719 kB / 455.3 MB, free: 24.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3011, allocations: 4.219 kB / 455.3 MB, free: 24.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.3027, allocations: 1.249 MB / 456.5 MB, free: 24.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3027, allocations: 1.094 kB / 456.5 MB, free: 24.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/0.303, allocations: 68.06 kB / 456.6 MB, free: 24.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001571/0.3032, allocations: 58.25 kB / 456.6 MB, free: 24.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.3032, allocations: 7.906 kB / 456.7 MB, free: 24.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.3046, allocations: 3.055 MB / 459.7 MB, free: 20.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3046, allocations: 1.125 kB / 459.7 MB, free: 20.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/0.3054, allocations: 0.6335 MB / 460.3 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.876e-05/0.3055, allocations: 140.1 kB / 460.5 MB, free: 20.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.3056, allocations: 8.531 kB / 460.5 MB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.3059, allocations: 19.58 kB / 460.5 MB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.3059, allocations: 27.45 kB / 460.5 MB, free: 20.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.306, allocations: 12.08 kB / 460.5 MB, free: 20.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006459/0.3066, allocations: 433.5 kB / 461 MB, free: 20.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3066, allocations: 0 / 461 MB, free: 20.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009627/0.3076, allocations: 159.3 kB / 461.1 MB, free: 20.19 MB / 366.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.0001215/0.3077, allocations: 110.8 kB / 461.2 MB, free: 20.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009837/0.3087, allocations: 0.6393 MB / 461.9 MB, free: 19.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3087, allocations: 1.031 kB / 461.9 MB, free: 19.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000412/0.3091, allocations: 369.2 kB / 462.2 MB, free: 19.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/0.3098, allocations: 81.55 kB / 462.3 MB, free: 19.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.3124, allocations: 1.881 MB / 464.2 MB, free: 18.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.3129, allocations: 1.037 MB / 465.2 MB, free: 17.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3131, allocations: 65.27 kB / 465.3 MB, free: 17.56 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3131, allocations: 0 / 465.3 MB, free: 17.56 MB / 366.1 MB Notification: Performance of Templates: time 0.02059/0.3336, allocations: 19.66 MB / 485 MB, free: 9.199 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.822510171914473]