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.00164/0.00164, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00208/0.00208, allocations: 210.7 kB / 23.72 MB, free: 4.391 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001629/0.001629, allocations: 47.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2555, allocations: 53.38 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007457/0.263, allocations: 5.281 MB / 436.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.2662, allocations: 1.695 MB / 438.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003839/0.2665, allocations: 43.69 kB / 438.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005016/0.267, allocations: 245.6 kB / 438.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004403/0.2675, allocations: 225.7 kB / 439.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.2685, allocations: 0.5227 MB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001534/0.2701, allocations: 1.391 MB / 441 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007478/0.2708, allocations: 412.3 kB / 441.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007089/0.2715, allocations: 0.4903 MB / 441.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005192/0.272, allocations: 433.2 kB / 442.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001947/0.2722, allocations: 120 kB / 442.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002721/0.2725, allocations: 139.9 kB / 442.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.2727, allocations: 267 kB / 442.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000467/0.2732, allocations: 493.5 kB / 443.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.275, allocations: 1.65 MB / 445 MB, free: 9.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.275, allocations: 0 / 445 MB, free: 9.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.275, allocations: 0 / 445 MB, free: 9.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.275, allocations: 0 / 445 MB, free: 9.27 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.002214/0.2772, allocations: 1.423 MB / 446.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.2773, allocations: 12.03 kB / 446.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003892/0.2777, allocations: 167 kB / 446.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.2789, allocations: 0.6912 MB / 447.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.453e-05/0.279, allocations: 90.41 kB / 447.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.2791, allocations: 120 kB / 447.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.2811, allocations: 1.314 MB / 448.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/0.2812, allocations: 7.938 kB / 448.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/0.2813, allocations: 52 kB / 448.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/0.2813, allocations: 32 kB / 448.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.2826, allocations: 0.6929 MB / 449.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006219/0.2888, allocations: 6.287 MB / 455.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007009/0.2895, allocations: 253.3 kB / 456.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.2899, allocations: 169.5 kB / 456.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.29, allocations: 12 kB / 456.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.29, allocations: 34.56 kB / 456.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.805e-06/0.29, allocations: 0 / 456.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002609/0.2926, allocations: 1.288 MB / 457.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.2927, allocations: 85.05 kB / 457.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008354/0.2935, allocations: 0.6763 MB / 458.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.2936, allocations: 29.7 kB / 458.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005173/0.2941, allocations: 0.7055 MB / 459.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.2942, allocations: 123 kB / 459.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.2944, allocations: 146.5 kB / 459.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.2946, allocations: 382.8 kB / 459.7 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.2949, allocations: 153.9 kB / 459.9 MB, free: 9.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006227/0.2955, allocations: 0.5511 MB / 460.4 MB, free: 8.883 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.001173/0.2967, allocations: 0.8003 MB / 461.2 MB, free: 7.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.2967, allocations: 4 kB / 461.2 MB, free: 7.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001331/0.298, allocations: 0.7986 MB / 462 MB, free: 7.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.298, allocations: 12 kB / 462 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.2981, allocations: 12 kB / 462 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/0.2983, allocations: 77.69 kB / 462.1 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.2989, allocations: 187.7 kB / 462.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/0.3018, allocations: 3.072 MB / 465.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.3022, allocations: 28 kB / 465.4 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.3022, allocations: 40 kB / 465.4 MB, free: 3.441 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.0004554/0.3027, allocations: 269.6 kB / 465.7 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.3028, allocations: 83.42 kB / 465.8 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.3029, allocations: 74.34 kB / 465.9 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3029, allocations: 4 kB / 465.9 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.3029, allocations: 4 kB / 465.9 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3029, allocations: 0 / 465.9 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.3047, allocations: 1.063 MB / 466.9 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.3047, allocations: 3.984 kB / 466.9 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.305, allocations: 67.91 kB / 467 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001611/0.3052, allocations: 53.67 kB / 467.1 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.3052, allocations: 8 kB / 467.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002384/0.3076, allocations: 2.793 MB / 469.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3076, allocations: 3.938 kB / 469.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.3086, allocations: 0.6325 MB / 470.5 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.3087, allocations: 59.66 kB / 470.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.3087, allocations: 8.062 kB / 470.6 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.309, allocations: 20.05 kB / 470.6 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.3091, allocations: 31.94 kB / 470.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.3091, allocations: 8 kB / 470.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005596/0.3096, allocations: 435 kB / 471 MB, free: 13.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3096, allocations: 0 / 471 MB, free: 13.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000939/0.3106, allocations: 159.9 kB / 471.2 MB, free: 13.38 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.0001403/0.3107, allocations: 107.2 kB / 471.3 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.3118, allocations: 0.6396 MB / 471.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.3118, allocations: 4 kB / 471.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004924/0.3123, allocations: 350.5 kB / 472.3 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.3129, allocations: 86.64 kB / 472.4 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.3162, allocations: 1.845 MB / 474.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.3167, allocations: 450.9 kB / 474.7 MB, free: 9.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002531/0.3169, allocations: 81.94 kB / 474.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.317, allocations: 55.42 kB / 474.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.317, allocations: 3.938 kB / 474.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of Templates: time 0.01442/0.3315, allocations: 6.355 MB / 481.1 MB, free: 3.41 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.696353375911713]