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.001755/0.001755, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002084/0.002084, allocations: 208 kB / 24.53 MB, free: 4.07 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.444/1.444, allocations: 230.5 MB / 258.2 MB, free: 8.016 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 63.91 kB / 378.6 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2891, allocations: 53.41 MB / 432 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008248/0.2973, allocations: 6.067 MB / 438.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003764/0.3011, allocations: 1.737 MB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.3022, allocations: 43.69 kB / 439.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008638/0.3031, allocations: 249.6 kB / 440.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.3042, allocations: 221.7 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.3057, allocations: 0.5265 MB / 440.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002268/0.3079, allocations: 1.395 MB / 442.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008807/0.3088, allocations: 448.3 kB / 442.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007482/0.3096, allocations: 498.1 kB / 443.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.3101, allocations: 0.4895 MB / 443.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.3103, allocations: 124 kB / 443.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.3105, allocations: 143.9 kB / 443.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.3108, allocations: 267 kB / 444.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005582/0.3114, allocations: 0.61 MB / 444.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.3133, allocations: 1.646 MB / 446.4 MB, free: 8.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3133, allocations: 0 / 446.4 MB, free: 8.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3133, allocations: 4 kB / 446.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.091e-05/0.3133, allocations: 0 / 446.4 MB, free: 8.156 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.002229/0.3155, allocations: 1.424 MB / 447.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3156, allocations: 8.031 kB / 447.8 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.007e-05/0.3156, allocations: 34.41 kB / 447.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001847/0.3158, allocations: 173.7 kB / 448 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003846/0.3162, allocations: 167 kB / 448.2 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.3174, allocations: 0.6911 MB / 448.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.11e-05/0.3175, allocations: 90.39 kB / 449 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.3176, allocations: 124 kB / 449.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.3196, allocations: 1.264 MB / 450.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.3197, allocations: 7.938 kB / 450.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.3198, allocations: 56 kB / 450.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/0.3198, allocations: 32 kB / 450.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.3211, allocations: 0.6851 MB / 451.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006487/0.3276, allocations: 6.68 MB / 457.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006975/0.3283, allocations: 249.2 kB / 458.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.3287, allocations: 161.3 kB / 458.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.3288, allocations: 15.97 kB / 458.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.3288, allocations: 34.56 kB / 458.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.325e-06/0.3288, allocations: 4 kB / 458.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002472/0.3313, allocations: 1.275 MB / 459.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.3313, allocations: 85.11 kB / 459.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007853/0.3321, allocations: 0.6648 MB / 460.3 MB, free: 9.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.3322, allocations: 29.7 kB / 460.3 MB, free: 9.508 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000505/0.3327, allocations: 0.7016 MB / 461 MB, free: 8.797 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.3328, allocations: 134.9 kB / 461.2 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.3329, allocations: 138.6 kB / 461.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3331, allocations: 386.8 kB / 461.7 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.3334, allocations: 149.9 kB / 461.8 MB, free: 7.988 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000596/0.334, allocations: 0.5433 MB / 462.4 MB, free: 7.25 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.001144/0.3352, allocations: 0.8096 MB / 463.2 MB, free: 6.246 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.3352, allocations: 7.938 kB / 463.2 MB, free: 6.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001322/0.3365, allocations: 0.7912 MB / 464 MB, free: 5.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.3365, allocations: 12.78 kB / 464 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.3365, allocations: 16 kB / 464 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/0.3368, allocations: 85.69 kB / 464.1 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/0.3373, allocations: 187.6 kB / 464.3 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/0.34, allocations: 3.11 MB / 467.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.3404, allocations: 32 kB / 467.4 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.3405, allocations: 47.98 kB / 467.5 MB, free: 1.719 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.0004887/0.341, allocations: 272.5 kB / 467.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.3411, allocations: 79.47 kB / 467.8 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.3413, allocations: 74.34 kB / 467.9 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3413, allocations: 4 kB / 467.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.3413, allocations: 0 / 467.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.3413, allocations: 7.984 kB / 467.9 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.3435, allocations: 1.219 MB / 469.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3435, allocations: 0 / 469.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.3438, allocations: 67.89 kB / 469.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000174/0.344, allocations: 61.72 kB / 469.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.344, allocations: 11.94 kB / 469.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002285/0.3463, allocations: 2.85 MB / 472.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3463, allocations: 0 / 472.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009939/0.3473, allocations: 0.6326 MB / 472.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.3474, allocations: 63.55 kB / 472.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.3475, allocations: 12 kB / 472.8 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.3477, allocations: 15.98 kB / 472.8 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/0.3478, allocations: 31.83 kB / 472.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.3478, allocations: 12 kB / 472.9 MB, free: 11.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005845/0.3484, allocations: 439 kB / 473.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3484, allocations: 0 / 473.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009529/0.3494, allocations: 156 kB / 473.4 MB, free: 11.39 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.001324/0.3507, allocations: 1.192 MB / 474.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.352, allocations: 0.6352 MB / 475.3 MB, free: 9.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.352, allocations: 0 / 475.3 MB, free: 9.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005275/0.3525, allocations: 357.5 kB / 475.6 MB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.3531, allocations: 86.22 kB / 475.7 MB, free: 9.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009551/0.3626, allocations: 6.47 MB / 482.2 MB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007829/0.3634, allocations: 1.034 MB / 483.2 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002727/0.3637, allocations: 86.02 kB / 483.3 MB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004902/0.3642, allocations: 427.3 kB / 483.7 MB, free: 472 kB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3642, allocations: 4 kB / 483.7 MB, free: 468 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05703/0.4212, allocations: 13.38 MB / 497.1 MB, free: 3.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.7, allocations: 12.05 kB / 497.1 MB, free: 3.195 MB / 398.1 MB " [Timeout remaining time 647] (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: 15.237393281015102]