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.001298/0.001298, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001526/0.001526, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.486/1.486, allocations: 230.6 MB / 254.1 MB, free: 15.09 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 51.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09748/0.09905, allocations: 53.32 MB / 426.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.2005/0.2995, allocations: 6.036 MB / 432.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002926/0.3025, allocations: 1.733 MB / 434.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007575/0.3032, allocations: 41.22 kB / 434.1 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005314/0.3037, allocations: 251.5 kB / 434.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005593/0.3043, allocations: 223.3 kB / 434.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.3054, allocations: 0.5165 MB / 435.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.3068, allocations: 1.392 MB / 436.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006499/0.3075, allocations: 448 kB / 437 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006498/0.3081, allocations: 494.9 kB / 437.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.3086, allocations: 0.4933 MB / 437.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.3088, allocations: 125.2 kB / 438.1 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.309, allocations: 141.7 kB / 438.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.3092, allocations: 267.1 kB / 438.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004327/0.3096, allocations: 0.6123 MB / 439.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.3117, allocations: 1.639 MB / 440.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3117, allocations: 1.094 kB / 440.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3117, allocations: 7.75 kB / 440.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.068e-05/0.3117, allocations: 0 / 440.7 MB, free: 4.59 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.002279/0.314, allocations: 1.496 MB / 442.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.314, allocations: 9.062 kB / 442.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002141/0.3142, allocations: 181 kB / 442.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00041/0.3147, allocations: 166.9 kB / 442.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.3159, allocations: 0.7658 MB / 443.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/0.3159, allocations: 94.16 kB / 443.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.3161, allocations: 125.9 kB / 443.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.3181, allocations: 1.265 MB / 444.8 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.3181, allocations: 7.375 kB / 444.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-05/0.3182, allocations: 58 kB / 444.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.3183, allocations: 32.38 kB / 444.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.3195, allocations: 0.6853 MB / 445.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006182/0.3257, allocations: 6.803 MB / 452.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.3264, allocations: 248.6 kB / 452.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/0.3267, allocations: 161.7 kB / 452.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.3269, allocations: 86.89 kB / 452.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.3269, allocations: 37.72 kB / 452.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.344e-06/0.3269, allocations: 0 / 452.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002752/0.3297, allocations: 1.423 MB / 454.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.3297, allocations: 88.91 kB / 454.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008789/0.3306, allocations: 0.6644 MB / 455.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.3307, allocations: 31.95 kB / 455.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005356/0.3312, allocations: 0.7025 MB / 455.8 MB, free: 9.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.3313, allocations: 121.5 kB / 455.9 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.3315, allocations: 142.1 kB / 456.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.3317, allocations: 383.5 kB / 456.5 MB, free: 9.125 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.332, allocations: 147.7 kB / 456.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.3326, allocations: 0.5517 MB / 457.1 MB, free: 8.469 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.001297/0.3339, allocations: 0.9533 MB / 458.1 MB, free: 7.531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.3339, allocations: 8.188 kB / 458.1 MB, free: 7.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001355/0.3353, allocations: 0.7911 MB / 458.9 MB, free: 7.168 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.3353, allocations: 11.81 kB / 458.9 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.3353, allocations: 14.78 kB / 458.9 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/0.3356, allocations: 92.45 kB / 459 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/0.3361, allocations: 179.7 kB / 459.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/0.339, allocations: 3.326 MB / 462.5 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.3395, allocations: 31.25 kB / 462.5 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.3395, allocations: 46.75 kB / 462.6 MB, free: 3.852 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.0004863/0.34, allocations: 280 kB / 462.9 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.3401, allocations: 74.44 kB / 462.9 MB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.3403, allocations: 72.22 kB / 463 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3403, allocations: 2.719 kB / 463 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.3403, allocations: 5.781 kB / 463 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3403, allocations: 2.422 kB / 463 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.3423, allocations: 1.249 MB / 464.3 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3423, allocations: 5.156 kB / 464.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.3426, allocations: 69 kB / 464.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001705/0.3428, allocations: 52.33 kB / 464.4 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.3428, allocations: 14.31 kB / 464.4 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/0.3452, allocations: 3.055 MB / 467.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3452, allocations: 1.062 kB / 467.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.3463, allocations: 0.6347 MB / 468.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.3464, allocations: 147.4 kB / 468.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.3465, allocations: 9.312 kB / 468.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.3467, allocations: 15.98 kB / 468.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/0.3468, allocations: 26.56 kB / 468.3 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.3468, allocations: 14.72 kB / 468.3 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006196/0.3475, allocations: 441.2 kB / 468.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3475, allocations: 0 / 468.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001106/0.3486, allocations: 155.4 kB / 468.9 MB, free: 14.8 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.001362/0.3499, allocations: 1.187 MB / 470.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.3512, allocations: 0.627 MB / 470.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3512, allocations: 1.438 kB / 470.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000494/0.3517, allocations: 359.4 kB / 471.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.3523, allocations: 80.53 kB / 471.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009569/0.3618, allocations: 6.454 MB / 477.6 MB, free: 8.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007632/0.3626, allocations: 1.037 MB / 478.6 MB, free: 7.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002832/0.3629, allocations: 85.88 kB / 478.7 MB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005439/0.3634, allocations: 427.7 kB / 479.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3634, allocations: 0 / 479.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04996/0.4134, allocations: 12.84 MB / 492 MB, free: 12.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.81, allocations: 23.36 kB / 492 MB, free: 12.71 MB / 398.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_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: 13.203963662032038]