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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 59.89 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.249, allocations: 50.55 MB / 408.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007461/0.2565, allocations: 6.023 MB / 414.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.2598, allocations: 1.733 MB / 416.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004763/0.2603, allocations: 31.81 kB / 416.6 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005178/0.2608, allocations: 253.6 kB / 416.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.2613, allocations: 213.8 kB / 417.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009656/0.2623, allocations: 0.5188 MB / 417.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.2636, allocations: 1.395 MB / 419 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008298/0.2645, allocations: 0.6247 MB / 419.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005385/0.265, allocations: 486.1 kB / 420.1 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005025/0.2655, allocations: 0.4895 MB / 420.6 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.2657, allocations: 124 kB / 420.7 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.2659, allocations: 140 kB / 420.8 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.2662, allocations: 263 kB / 421.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005298/0.2667, allocations: 0.6138 MB / 421.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.2683, allocations: 1.633 MB / 423.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2683, allocations: 4 kB / 423.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2683, allocations: 3.938 kB / 423.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.2683, allocations: 0 / 423.4 MB, free: 2.895 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.002063/0.2704, allocations: 1.496 MB / 424.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2704, allocations: 11.97 kB / 424.9 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002077/0.2706, allocations: 177.7 kB / 425 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004036/0.2711, allocations: 167 kB / 425.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.2722, allocations: 0.775 MB / 426 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-05/0.2723, allocations: 86.41 kB / 426.1 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.2725, allocations: 120 kB / 426.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.2744, allocations: 1.26 MB / 427.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.2745, allocations: 15.88 kB / 427.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.156e-05/0.2746, allocations: 56 kB / 427.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.2746, allocations: 32 kB / 427.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.2759, allocations: 0.6813 MB / 428.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007462/0.2833, allocations: 6.798 MB / 435 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006872/0.2841, allocations: 273.2 kB / 435.3 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.2844, allocations: 177.3 kB / 435.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.2846, allocations: 89.09 kB / 435.5 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2847, allocations: 38.5 kB / 435.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.275e-06/0.2847, allocations: 4 kB / 435.6 MB, free: 6 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0029/0.2876, allocations: 1.425 MB / 437 MB, free: 4.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.2877, allocations: 85.11 kB / 437.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009654/0.2886, allocations: 0.6648 MB / 437.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.2887, allocations: 25.7 kB / 437.8 MB, free: 3.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005925/0.2893, allocations: 0.7094 MB / 438.5 MB, free: 2.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.2894, allocations: 115.1 kB / 438.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.2896, allocations: 146.6 kB / 438.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002721/0.2899, allocations: 382.8 kB / 439.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.2902, allocations: 145.9 kB / 439.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007/0.2909, allocations: 0.5546 MB / 439.8 MB, free: 1.398 MB / 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.001392/0.2923, allocations: 0.9572 MB / 440.8 MB, free: 212 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.2923, allocations: 7.938 kB / 440.8 MB, free: 204 kB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001638/0.294, allocations: 0.7992 MB / 441.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.294, allocations: 8 kB / 441.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.294, allocations: 16.75 kB / 441.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/0.2943, allocations: 89.67 kB / 441.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/0.2949, allocations: 179.7 kB / 441.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003619/0.2985, allocations: 3.321 MB / 445.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.299, allocations: 32 kB / 445.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/0.2991, allocations: 44 kB / 445.3 MB, free: 11.42 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.0004463/0.2995, allocations: 285.5 kB / 445.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.2996, allocations: 79.48 kB / 445.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.2998, allocations: 70.41 kB / 445.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.2998, allocations: 4.141 kB / 445.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.2998, allocations: 3.984 kB / 445.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2998, allocations: 0 / 445.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.3018, allocations: 1.247 MB / 446.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.3018, allocations: 7.828 kB / 447 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.3021, allocations: 67.89 kB / 447 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001633/0.3023, allocations: 57.78 kB / 447.1 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.3023, allocations: 7.984 kB / 447.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00296/0.3053, allocations: 3.054 MB / 450.1 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3053, allocations: 3.984 kB / 450.1 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009574/0.3063, allocations: 0.6394 MB / 450.8 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.3064, allocations: 144.6 kB / 450.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.3065, allocations: 8 kB / 450.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.3068, allocations: 15.98 kB / 450.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.3068, allocations: 31.91 kB / 451 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.3069, allocations: 8 kB / 451 MB, free: 5.277 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005983/0.3075, allocations: 439 kB / 451.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3075, allocations: 0 / 451.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008593/0.3083, allocations: 156 kB / 451.6 MB, free: 4.699 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.00148/0.3098, allocations: 1.192 MB / 452.8 MB, free: 3.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.3111, allocations: 0.6475 MB / 453.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.3111, allocations: 4 kB / 453.4 MB, free: 2.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.3116, allocations: 357.4 kB / 453.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.3122, allocations: 87.48 kB / 453.8 MB, free: 2.336 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009466/0.3216, allocations: 6.481 MB / 460.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007834/0.3224, allocations: 1.034 MB / 461.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002535/0.3227, allocations: 86.02 kB / 461.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/0.3232, allocations: 431.2 kB / 461.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3232, allocations: 0 / 461.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06171/0.3849, allocations: 12.72 MB / 474.6 MB, free: 13.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.07, allocations: 22.73 kB / 474.6 MB, free: 13.13 MB / 398.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) 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) Reference file matches