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.001223/0.001223, allocations: 121.4 kB / 17.79 MB, free: 5.121 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.001236/0.001236, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.378/1.378, allocations: 225.6 MB / 249.1 MB, free: 3.625 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 51.92 kB / 365.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09853/0.09999, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00752/0.1075, allocations: 6.034 MB / 423.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.1109, allocations: 1.64 MB / 425.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004811/0.1113, allocations: 35.81 kB / 425.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005575/0.1119, allocations: 249.6 kB / 425.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004669/0.1124, allocations: 221.7 kB / 426 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009457/0.1133, allocations: 0.5032 MB / 426.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.1148, allocations: 1.387 MB / 427.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007273/0.1155, allocations: 447.8 kB / 428.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005663/0.1161, allocations: 474.1 kB / 428.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005273/0.1166, allocations: 0.4895 MB / 429.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.1167, allocations: 124 kB / 429.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.1169, allocations: 140 kB / 429.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.1172, allocations: 275 kB / 429.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005296/0.1177, allocations: 0.6062 MB / 430.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.1195, allocations: 1.63 MB / 432 MB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.1195, allocations: 4 kB / 432 MB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1195, allocations: 0 / 432 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.1195, allocations: 0 / 432 MB, free: 14.3 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.0022/0.1217, allocations: 1.5 MB / 433.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1217, allocations: 12.03 kB / 433.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002086/0.1219, allocations: 177.6 kB / 433.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.1221, allocations: 151.1 kB / 433.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.1234, allocations: 0.7594 MB / 434.6 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-05/0.1235, allocations: 90.41 kB / 434.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.1236, allocations: 120 kB / 434.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.1256, allocations: 1.268 MB / 436.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.1256, allocations: 7.938 kB / 436.1 MB, free: 9.945 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-05/0.1257, allocations: 59.98 kB / 436.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/0.1257, allocations: 32 kB / 436.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.127, allocations: 0.6812 MB / 436.9 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006375/0.1334, allocations: 6.798 MB / 443.7 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.1341, allocations: 249.2 kB / 443.9 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/0.1344, allocations: 165.6 kB / 444.1 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.1346, allocations: 81.11 kB / 444.1 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.1346, allocations: 42.5 kB / 444.2 MB, free: 1.465 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.004e-06/0.1346, allocations: 0 / 444.2 MB, free: 1.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.1779/0.3126, allocations: 1.415 MB / 445.6 MB, free: 30 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.3126, allocations: 84.39 kB / 445.7 MB, free: 29.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007196/0.3133, allocations: 0.6624 MB / 446.3 MB, free: 29.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.3134, allocations: 32.2 kB / 446.4 MB, free: 29.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.3137, allocations: 0.697 MB / 447.1 MB, free: 29.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.3137, allocations: 127.2 kB / 447.2 MB, free: 29.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.3139, allocations: 142.8 kB / 447.3 MB, free: 29.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.314, allocations: 386.7 kB / 447.7 MB, free: 29.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.3142, allocations: 142 kB / 447.8 MB, free: 29.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.3146, allocations: 0.5531 MB / 448.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.0008051/0.3154, allocations: 0.9583 MB / 449.4 MB, free: 27.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3154, allocations: 4.719 kB / 449.4 MB, free: 27.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001028/0.3164, allocations: 0.796 MB / 450.2 MB, free: 27.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3164, allocations: 10.47 kB / 450.2 MB, free: 27.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.3165, allocations: 17.62 kB / 450.2 MB, free: 27.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/0.3167, allocations: 83.66 kB / 450.3 MB, free: 27.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.3171, allocations: 182.8 kB / 450.4 MB, free: 27.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.3188, allocations: 3.335 MB / 453.8 MB, free: 24.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.3191, allocations: 32.61 kB / 453.8 MB, free: 24.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.3191, allocations: 42.53 kB / 453.9 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.0003027/0.3194, allocations: 273.1 kB / 454.1 MB, free: 24.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.476e-05/0.3195, allocations: 79.48 kB / 454.2 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.329e-05/0.3196, allocations: 80.23 kB / 454.3 MB, free: 24.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3196, allocations: 2.781 kB / 454.3 MB, free: 24.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.3196, allocations: 2.531 kB / 454.3 MB, free: 24.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3197, allocations: 3.094 kB / 454.3 MB, free: 24.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.3212, allocations: 1.249 MB / 455.5 MB, free: 24.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3212, allocations: 0 / 455.5 MB, free: 24.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.3215, allocations: 70.44 kB / 455.6 MB, free: 24.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.3216, allocations: 53.64 kB / 455.7 MB, free: 24.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.3217, allocations: 7.875 kB / 455.7 MB, free: 24.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.3231, allocations: 3.056 MB / 458.7 MB, free: 21.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3231, allocations: 1.594 kB / 458.7 MB, free: 21.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007199/0.3238, allocations: 0.6361 MB / 459.4 MB, free: 20.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.3239, allocations: 144.2 kB / 459.5 MB, free: 20.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.3239, allocations: 8.047 kB / 459.5 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.3242, allocations: 17.94 kB / 459.5 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/0.3243, allocations: 26.64 kB / 459.5 MB, free: 20.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.3243, allocations: 8.578 kB / 459.6 MB, free: 20.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000675/0.325, allocations: 437.2 kB / 460 MB, free: 20.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.325, allocations: 4 kB / 460 MB, free: 20.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001252/0.3262, allocations: 154.8 kB / 460.1 MB, free: 20.23 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.001019/0.3272, allocations: 1.187 MB / 461.3 MB, free: 19.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.3283, allocations: 0.6361 MB / 462 MB, free: 18.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.3283, allocations: 1.031 kB / 462 MB, free: 18.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004142/0.3287, allocations: 350.2 kB / 462.3 MB, free: 18.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.3292, allocations: 84.69 kB / 462.4 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007376/0.3366, allocations: 6.445 MB / 468.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/0.3371, allocations: 1.035 MB / 469.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002913/0.3374, allocations: 83.47 kB / 469.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/0.3378, allocations: 422.8 kB / 470.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3378, allocations: 0 / 470.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07921/0.417, allocations: 12.8 MB / 483.2 MB, free: 8.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.17, allocations: 4.219 kB / 483.2 MB, free: 8.887 MB / 366.1 MB " [Timeout remaining time 649] (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_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: 13.64353199629113]