Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001311/0.001311, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001552/0.001552, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 8.059 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 64.77 kB / 379.1 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2648, allocations: 53.38 MB / 432.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007777/0.2726, allocations: 6.055 MB / 438.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004583/0.2772, allocations: 1.753 MB / 440.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009812/0.2782, allocations: 39.69 kB / 440.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006412/0.2788, allocations: 249.5 kB / 440.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006431/0.2794, allocations: 225.7 kB / 440.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.2808, allocations: 0.5226 MB / 441.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.2825, allocations: 1.395 MB / 442.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009098/0.2834, allocations: 444.3 kB / 443.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007392/0.2842, allocations: 0.4904 MB / 443.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006313/0.2848, allocations: 0.4934 MB / 444.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.285, allocations: 120 kB / 444.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.2852, allocations: 140 kB / 444.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.2855, allocations: 267 kB / 444.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005938/0.2861, allocations: 0.6139 MB / 445.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.2883, allocations: 1.639 MB / 446.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.2883, allocations: 0 / 446.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.2883, allocations: 0 / 446.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.775e-05/0.2883, allocations: 0 / 446.8 MB, free: 8.477 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.003038/0.2914, allocations: 1.42 MB / 448.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.632e-05/0.2914, allocations: 15.98 kB / 448.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005905/0.292, allocations: 171 kB / 448.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.2937, allocations: 0.6873 MB / 449.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.652e-05/0.2938, allocations: 90.41 kB / 449.2 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.294, allocations: 124 kB / 449.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.2961, allocations: 1.264 MB / 450.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.2962, allocations: 11.88 kB / 450.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.69e-05/0.2963, allocations: 52 kB / 450.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.169e-05/0.2963, allocations: 28 kB / 450.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.2976, allocations: 0.6929 MB / 451.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00685/0.3045, allocations: 6.676 MB / 458.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006936/0.3052, allocations: 249.2 kB / 458.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.3055, allocations: 165.7 kB / 458.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.465e-05/0.3056, allocations: 4 kB / 458.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.3057, allocations: 42.55 kB / 458.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.454e-06/0.3057, allocations: 0 / 458.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002533/0.3082, allocations: 1.28 MB / 459.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.3083, allocations: 81.11 kB / 459.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007995/0.3091, allocations: 0.6648 MB / 460.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.3091, allocations: 33.64 kB / 460.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005128/0.3096, allocations: 0.7054 MB / 461.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/0.3097, allocations: 127 kB / 461.4 MB, free: 9.199 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.3099, allocations: 138.6 kB / 461.5 MB, free: 9.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.3101, allocations: 382.8 kB / 461.9 MB, free: 8.676 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.3104, allocations: 145.9 kB / 462.1 MB, free: 8.531 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006258/0.311, allocations: 0.551 MB / 462.6 MB, free: 7.785 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.001136/0.3121, allocations: 0.8149 MB / 463.4 MB, free: 6.773 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.3121, allocations: 8 kB / 463.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001319/0.3134, allocations: 0.7949 MB / 464.2 MB, free: 5.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3135, allocations: 12 kB / 464.2 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.3135, allocations: 12 kB / 464.3 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/0.3137, allocations: 77.69 kB / 464.3 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.3143, allocations: 195.6 kB / 464.5 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.3171, allocations: 3.118 MB / 467.6 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.3175, allocations: 31.98 kB / 467.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.3175, allocations: 40 kB / 467.7 MB, free: 2.25 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.0004433/0.318, allocations: 269.4 kB / 468 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.3181, allocations: 83.47 kB / 468.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.3182, allocations: 74.42 kB / 468.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.3182, allocations: 0 / 468.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/0.3182, allocations: 12.06 kB / 468.1 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.85e-06/0.3182, allocations: 3.984 kB / 468.1 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.32, allocations: 1.219 MB / 469.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.32, allocations: 4 kB / 469.4 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.3203, allocations: 63.95 kB / 469.4 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001657/0.3205, allocations: 57.62 kB / 469.5 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.3205, allocations: 4 kB / 469.5 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/0.3228, allocations: 2.851 MB / 472.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.3228, allocations: 4.031 kB / 472.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009347/0.3238, allocations: 0.6278 MB / 473 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.3239, allocations: 63.55 kB / 473 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/0.3239, allocations: 15.98 kB / 473 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.3242, allocations: 16.12 kB / 473.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/0.3243, allocations: 35.83 kB / 473.1 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.3243, allocations: 11.98 kB / 473.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005476/0.3248, allocations: 435 kB / 473.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3248, allocations: 0 / 473.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000887/0.3257, allocations: 160 kB / 473.7 MB, free: 11.92 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.0001316/0.3259, allocations: 107.2 kB / 473.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.3269, allocations: 0.6362 MB / 474.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.327, allocations: 4 kB / 474.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004936/0.3274, allocations: 357.1 kB / 474.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.328, allocations: 71.56 kB / 474.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.3313, allocations: 1.853 MB / 476.7 MB, free: 8.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008308/0.3321, allocations: 1.038 MB / 477.7 MB, free: 7.742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002699/0.3324, allocations: 82.03 kB / 477.8 MB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.3325, allocations: 59.42 kB / 477.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3325, allocations: 0 / 477.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of Templates: time 0.01498/0.3475, allocations: 6.026 MB / 483.9 MB, free: 1.613 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.756357062608004]