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.001708/0.001708, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002509/0.002509, allocations: 205.4 kB / 23.72 MB, free: 4.391 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.524/1.524, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 75.88 kB / 377.8 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2567, allocations: 53.41 MB / 431.2 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007813/0.2646, allocations: 5.289 MB / 436.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00385/0.2684, allocations: 1.683 MB / 438.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008697/0.2693, allocations: 43.69 kB / 438.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000645/0.2699, allocations: 253.6 kB / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006543/0.2706, allocations: 221.7 kB / 438.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.2717, allocations: 0.5227 MB / 439.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.2733, allocations: 1.391 MB / 440.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007204/0.274, allocations: 414 kB / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000762/0.2748, allocations: 0.4903 MB / 441.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005187/0.2753, allocations: 429.2 kB / 441.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.2754, allocations: 120 kB / 442 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.2757, allocations: 143.9 kB / 442.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.2759, allocations: 271 kB / 442.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004548/0.2764, allocations: 489.5 kB / 442.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.2781, allocations: 1.653 MB / 444.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2781, allocations: 0 / 444.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2781, allocations: 0 / 444.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.254e-05/0.2781, allocations: 0 / 444.5 MB, free: 8.996 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.002232/0.2803, allocations: 1.42 MB / 445.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.2804, allocations: 15.98 kB / 446 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002028/0.2806, allocations: 177.6 kB / 446.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.281, allocations: 175 kB / 446.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.2823, allocations: 0.6911 MB / 447 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.86e-05/0.2824, allocations: 90.41 kB / 447.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.2825, allocations: 124 kB / 447.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.2846, allocations: 1.314 MB / 448.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.2846, allocations: 7.938 kB / 448.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.47e-05/0.2847, allocations: 52 kB / 448.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.2847, allocations: 36 kB / 448.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.2861, allocations: 0.689 MB / 449.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0067/0.2928, allocations: 6.415 MB / 455.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/0.2935, allocations: 253.2 kB / 456 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.2939, allocations: 157.7 kB / 456.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.294, allocations: 11.98 kB / 456.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.294, allocations: 34.56 kB / 456.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.425e-06/0.294, allocations: 0 / 456.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002693/0.2967, allocations: 1.289 MB / 457.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.2968, allocations: 81.11 kB / 457.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008877/0.2977, allocations: 0.6841 MB / 458.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.2977, allocations: 33.7 kB / 458.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005447/0.2983, allocations: 0.6976 MB / 458.9 MB, free: 9.832 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.2984, allocations: 123 kB / 459.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.2986, allocations: 146.5 kB / 459.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.2988, allocations: 382.8 kB / 459.6 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.2991, allocations: 153.9 kB / 459.7 MB, free: 9.027 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006542/0.2997, allocations: 0.5511 MB / 460.3 MB, free: 8.281 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.001207/0.3009, allocations: 0.8042 MB / 461.1 MB, free: 7.277 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.301, allocations: 4 kB / 461.1 MB, free: 7.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001399/0.3024, allocations: 0.7968 MB / 461.9 MB, free: 6.469 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.3024, allocations: 12 kB / 461.9 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.3024, allocations: 12 kB / 461.9 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/0.3027, allocations: 81.69 kB / 462 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/0.3032, allocations: 184.3 kB / 462.2 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002915/0.3061, allocations: 3.106 MB / 465.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.3065, allocations: 32 kB / 465.3 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/0.3066, allocations: 51.92 kB / 465.4 MB, free: 2.766 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.0004376/0.307, allocations: 269.3 kB / 465.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.3072, allocations: 83.48 kB / 465.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.3073, allocations: 70.34 kB / 465.8 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.3073, allocations: 4 kB / 465.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3073, allocations: 3.938 kB / 465.8 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3073, allocations: 7.984 kB / 465.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.3093, allocations: 1.188 MB / 467 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3093, allocations: 0 / 467 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.3096, allocations: 63.97 kB / 467 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001777/0.3098, allocations: 53.67 kB / 467.1 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.3098, allocations: 8.125 kB / 467.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/0.3122, allocations: 2.835 MB / 469.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.3123, allocations: 7.969 kB / 469.9 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009663/0.3132, allocations: 0.6365 MB / 470.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.3133, allocations: 71.48 kB / 470.6 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.3134, allocations: 12.17 kB / 470.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.3137, allocations: 12 kB / 470.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.3137, allocations: 35.88 kB / 470.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.3138, allocations: 7.984 kB / 470.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005642/0.3143, allocations: 439 kB / 471.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3143, allocations: 0 / 471.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000895/0.3152, allocations: 155.9 kB / 471.3 MB, free: 12.48 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.001305/0.3165, allocations: 1.196 MB / 472.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.3177, allocations: 0.6289 MB / 473.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3177, allocations: 0 / 473.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.3182, allocations: 357.1 kB / 473.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.3187, allocations: 76.3 kB / 473.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009505/0.3282, allocations: 6.484 MB / 480 MB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.3288, allocations: 450.9 kB / 480.5 MB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002884/0.329, allocations: 86.02 kB / 480.5 MB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005008/0.3295, allocations: 419.3 kB / 481 MB, free: 2.145 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3295, allocations: 0 / 481 MB, free: 2.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05216/0.3817, allocations: 13.5 MB / 494.5 MB, free: 4.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.05, allocations: 11.05 kB / 494.5 MB, free: 4.84 MB / 398.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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: 14.590510931797326]