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.001274/0.001274, allocations: 103.9 kB / 21.21 MB, free: 0.6289 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.001319/0.001319, allocations: 188.8 kB / 24.49 MB, free: 3.941 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.367/1.367, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 43.92 kB / 371.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2599, allocations: 52.18 MB / 423.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008694/0.2686, allocations: 5.266 MB / 428.6 MB, free: 9.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003347/0.2719, allocations: 1.605 MB / 430.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004841/0.2724, allocations: 39.75 kB / 430.3 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.2729, allocations: 245.5 kB / 430.5 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004747/0.2734, allocations: 225.7 kB / 430.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009462/0.2744, allocations: 0.511 MB / 431.3 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.2758, allocations: 1.379 MB / 432.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006939/0.2765, allocations: 448.3 kB / 433.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005672/0.277, allocations: 494.1 kB / 433.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.2776, allocations: 0.4934 MB / 434 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.2777, allocations: 120 kB / 434.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.278, allocations: 144 kB / 434.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.2782, allocations: 263 kB / 434.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004661/0.2786, allocations: 489.5 kB / 435 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.2803, allocations: 1.645 MB / 436.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2803, allocations: 0 / 436.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.2803, allocations: 8 kB / 436.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.2804, allocations: 0 / 436.7 MB, free: 0.9844 MB / 334.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.002113/0.2825, allocations: 1.417 MB / 438.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.2825, allocations: 12.03 kB / 438.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.893e-05/0.2826, allocations: 30.41 kB / 438.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/0.2828, allocations: 181.7 kB / 438.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.283, allocations: 147.1 kB / 438.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.2841, allocations: 0.6833 MB / 439.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.471e-05/0.2842, allocations: 90.41 kB / 439.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.2844, allocations: 120 kB / 439.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.2865, allocations: 1.322 MB / 440.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.2865, allocations: 11.89 kB / 440.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.124e-05/0.2866, allocations: 48 kB / 440.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.2866, allocations: 35.98 kB / 440.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.2879, allocations: 0.6929 MB / 441.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006328/0.2942, allocations: 6.419 MB / 447.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006968/0.2949, allocations: 245.3 kB / 448.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.2953, allocations: 157.6 kB / 448.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.82e-05/0.2954, allocations: 8 kB / 448.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.2954, allocations: 42.5 kB / 448.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.184e-06/0.2954, allocations: 0 / 448.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002372/0.2978, allocations: 1.277 MB / 449.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.2978, allocations: 85.11 kB / 449.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000763/0.2986, allocations: 0.6647 MB / 450.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.2986, allocations: 29.7 kB / 450.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/0.2991, allocations: 0.7054 MB / 451.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-05/0.2992, allocations: 123 kB / 451.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.2994, allocations: 146.5 kB / 451.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.2996, allocations: 382.8 kB / 451.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.2999, allocations: 141.9 kB / 451.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/0.3004, allocations: 0.5588 MB / 452.4 MB, free: 300 kB / 350.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.001089/0.3015, allocations: 0.8031 MB / 453.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.3015, allocations: 4 kB / 453.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00125/0.3028, allocations: 0.792 MB / 454 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.3028, allocations: 12 kB / 454 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.3028, allocations: 16 kB / 454 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.3031, allocations: 85.61 kB / 454.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000532/0.3036, allocations: 179.7 kB / 454.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/0.3062, allocations: 3.107 MB / 457.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/0.3066, allocations: 31.98 kB / 457.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/0.3067, allocations: 44 kB / 457.5 MB, free: 10.78 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.0004053/0.3071, allocations: 269.4 kB / 457.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3072, allocations: 79.61 kB / 457.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.3073, allocations: 78.19 kB / 457.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3073, allocations: 4 kB / 457.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3073, allocations: 4 kB / 457.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3073, allocations: 3.984 kB / 457.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.3091, allocations: 1.176 MB / 459.1 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.3091, allocations: 4.094 kB / 459.1 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.3094, allocations: 67.89 kB / 459.2 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001625/0.3096, allocations: 53.69 kB / 459.2 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.3096, allocations: 8 kB / 459.2 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.3118, allocations: 2.846 MB / 462.1 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3118, allocations: 0 / 462.1 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009251/0.3127, allocations: 0.6316 MB / 462.7 MB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3128, allocations: 67.47 kB / 462.8 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/0.3129, allocations: 12.06 kB / 462.8 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.3132, allocations: 23.92 kB / 462.8 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.3132, allocations: 27.91 kB / 462.8 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.3133, allocations: 11.98 kB / 462.8 MB, free: 5.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005387/0.3138, allocations: 431 kB / 463.3 MB, free: 4.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3138, allocations: 0 / 463.3 MB, free: 4.656 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008824/0.3147, allocations: 160 kB / 463.4 MB, free: 4.5 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.001194/0.3159, allocations: 1.196 MB / 464.6 MB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.317, allocations: 0.6323 MB / 465.2 MB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.317, allocations: 0 / 465.2 MB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.3175, allocations: 358 kB / 465.6 MB, free: 2.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.318, allocations: 87.61 kB / 465.7 MB, free: 2.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00963/0.3277, allocations: 6.447 MB / 472.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.3282, allocations: 446.9 kB / 472.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002773/0.3285, allocations: 86.02 kB / 472.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/0.329, allocations: 427.3 kB / 473.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.333e-06/0.329, allocations: 0 / 473.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04374/0.3727, allocations: 13.36 MB / 486.4 MB, free: 13.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.43, allocations: 7.844 kB / 486.4 MB, free: 13.11 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 14.831394514068961]