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.0008745/0.0008745, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000824/0.000824, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8846/0.8846, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.263e-06/1.263e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186e-05/1.313e-05, allocations: 6.281 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.004725/0.004739, allocations: 5.294 MB / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.006896, allocations: 1.698 MB / 331.5 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.007241, allocations: 39.69 kB / 331.6 MB, free: 8.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.007586, allocations: 249.6 kB / 331.8 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.007899, allocations: 237.5 kB / 332 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006545/0.008554, allocations: 0.5226 MB / 332.6 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.009625, allocations: 1.426 MB / 334 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004456/0.01007, allocations: 416.3 kB / 334.4 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000542/0.01061, allocations: 0.7327 MB / 335.1 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.01088, allocations: 346.7 kB / 335.5 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.16e-05/0.01097, allocations: 124 kB / 335.6 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.01111, allocations: 136 kB / 335.7 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.01123, allocations: 270.9 kB / 336 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.01144, allocations: 402.9 kB / 336.4 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009422/0.01238, allocations: 1.623 MB / 338 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.01239, allocations: 0 / 338 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01239, allocations: 0 / 338 MB, free: 2.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.0124, allocations: 0 / 338 MB, free: 2.32 MB / 298.7 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.001282/0.01368, allocations: 1.409 MB / 339.4 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.01372, allocations: 11.98 kB / 339.4 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.01385, allocations: 177.7 kB / 339.6 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.01407, allocations: 175 kB / 339.8 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007438/0.01482, allocations: 0.6796 MB / 340.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002779/0.01509, allocations: 90.41 kB / 340.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.246e-05/0.01519, allocations: 123.9 kB / 340.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.01632, allocations: 1.318 MB / 342 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.01634, allocations: 3.938 kB / 342 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.544e-05/0.0164, allocations: 56 kB / 342 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.01641, allocations: 32 kB / 342.1 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007663/0.01718, allocations: 0.6812 MB / 342.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003663/0.02084, allocations: 6.418 MB / 349.2 MB, free: 6.551 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.0213, allocations: 249.2 kB / 349.4 MB, free: 6.289 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.02152, allocations: 153.7 kB / 349.6 MB, free: 6.133 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.93e-05/0.02161, allocations: 15.98 kB / 349.6 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.02163, allocations: 42.94 kB / 349.6 MB, free: 6.066 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.483e-06/0.02164, allocations: 0 / 349.6 MB, free: 6.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001823/0.02346, allocations: 1.28 MB / 350.9 MB, free: 4.723 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.0235, allocations: 85.11 kB / 351 MB, free: 4.621 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000567/0.02407, allocations: 0.688 MB / 351.7 MB, free: 3.922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.02409, allocations: 33.7 kB / 351.7 MB, free: 3.883 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.02439, allocations: 0.7015 MB / 352.4 MB, free: 3.172 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.02445, allocations: 119 kB / 352.5 MB, free: 3.055 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.02459, allocations: 150.5 kB / 352.7 MB, free: 2.902 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.02471, allocations: 382.8 kB / 353 MB, free: 2.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.0249, allocations: 145.9 kB / 353.2 MB, free: 2.375 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.02523, allocations: 0.5586 MB / 353.7 MB, free: 1.621 MB / 314.7 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.0008228/0.02606, allocations: 0.7986 MB / 354.5 MB, free: 0.625 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.02607, allocations: 4 kB / 354.5 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009875/0.02705, allocations: 0.7951 MB / 355.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.02708, allocations: 8.844 kB / 355.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.0271, allocations: 16 kB / 355.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.02731, allocations: 85.62 kB / 355.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.02763, allocations: 179.7 kB / 355.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.0294, allocations: 3.114 MB / 358.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.02964, allocations: 28 kB / 358.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.02967, allocations: 44 kB / 358.8 MB, free: 12.12 MB / 330.7 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.0003106/0.02998, allocations: 277.3 kB / 359.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.03005, allocations: 79.42 kB / 359.2 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.744e-05/0.03011, allocations: 78.34 kB / 359.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.03012, allocations: 4 kB / 359.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.03012, allocations: 0 / 359.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.03013, allocations: 8.047 kB / 359.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.03131, allocations: 1.184 MB / 360.4 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.03131, allocations: 3.984 kB / 360.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.03149, allocations: 67.91 kB / 360.5 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.0316, allocations: 57.77 kB / 360.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.03162, allocations: 8 kB / 360.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.03297, allocations: 2.824 MB / 363.4 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.03297, allocations: 3.938 kB / 363.4 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005608/0.03353, allocations: 0.6404 MB / 364 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.03359, allocations: 63.48 kB / 364.1 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.03362, allocations: 8.047 kB / 364.1 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.03375, allocations: 16 kB / 364.1 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.03381, allocations: 31.83 kB / 364.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.03383, allocations: 15.98 kB / 364.2 MB, free: 6.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003368/0.03416, allocations: 431 kB / 364.6 MB, free: 5.996 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03416, allocations: 4 kB / 364.6 MB, free: 5.992 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005929/0.03476, allocations: 160 kB / 364.7 MB, free: 5.836 MB / 330.7 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.0007389/0.03549, allocations: 1.183 MB / 365.9 MB, free: 4.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007112/0.03621, allocations: 0.636 MB / 366.6 MB, free: 3.953 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.03621, allocations: 3.938 kB / 366.6 MB, free: 3.949 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.03647, allocations: 342.6 kB / 366.9 MB, free: 3.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.03685, allocations: 79.55 kB / 367 MB, free: 3.508 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006309/0.04316, allocations: 6.306 MB / 373.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.0435, allocations: 458.9 kB / 373.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001901/0.04369, allocations: 89.95 kB / 373.8 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.04403, allocations: 428.3 kB / 374.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of SimCode: time 1.253e-06/0.04404, allocations: 0 / 374.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.07243, allocations: 13.65 MB / 387.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.156/7.228, allocations: 7.266 kB / 387.9 MB, free: 14.2 MB / 362.7 MB " [Timeout remaining time 653] (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/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_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: 8.86740698106587]