Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001238/0.001238, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 204.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 55.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2661, allocations: 50.56 MB / 408.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004835/0.271, allocations: 3.937 MB / 412.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.2735, allocations: 1.624 MB / 414.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.2738, allocations: 15.94 kB / 414.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001868/0.2757, allocations: 0.7622 MB / 415.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008679/0.2766, allocations: 374 kB / 415.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.2779, allocations: 0.6767 MB / 416.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006066/0.2785, allocations: 0.5331 MB / 416.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006831/0.2792, allocations: 0.4938 MB / 417.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.2795, allocations: 239.1 kB / 417.4 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.2798, allocations: 298.8 kB / 417.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.093e-05/0.2799, allocations: 52 kB / 417.8 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.2804, allocations: 259.8 kB / 418 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.865e-05/0.2805, allocations: 115.7 kB / 418.1 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.2807, allocations: 270.6 kB / 418.4 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008334/0.2815, allocations: 0.7983 MB / 419.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2815, allocations: 0 / 419.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2815, allocations: 0 / 419.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.2816, allocations: 0 / 419.2 MB, free: 7.043 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002066/0.2836, allocations: 0.9636 MB / 420.1 MB, free: 6.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.2837, allocations: 12.03 kB / 420.2 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.2838, allocations: 107.9 kB / 420.3 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/0.2867, allocations: 407.9 kB / 420.7 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/0.2873, allocations: 361.3 kB / 421 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.2873, allocations: 49.44 kB / 421.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-05/0.2874, allocations: 60 kB / 421.1 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.2885, allocations: 0.6353 MB / 421.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.2886, allocations: 8 kB / 421.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-05/0.2886, allocations: 24 kB / 421.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.2886, allocations: 16 kB / 421.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.2897, allocations: 0.5751 MB / 422.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/0.2929, allocations: 2.248 MB / 424.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.2944, allocations: 1.181 MB / 425.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.2947, allocations: 192.8 kB / 426 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.2949, allocations: 170.2 kB / 426.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.2949, allocations: 42.56 kB / 426.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.854e-06/0.2949, allocations: 0 / 426.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001582/0.2965, allocations: 0.6823 MB / 426.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.2965, allocations: 59.34 kB / 426.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.2968, allocations: 274.5 kB / 427.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.2969, allocations: 41.7 kB / 427.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.297, allocations: 252.6 kB / 427.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.2971, allocations: 145.8 kB / 427.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.2973, allocations: 86.25 kB / 427.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2974, allocations: 338.8 kB / 428.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.2977, allocations: 155 kB / 428.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.2981, allocations: 253.9 kB / 428.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007212/0.2989, allocations: 441.7 kB / 428.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2989, allocations: 0 / 428.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009892/0.2999, allocations: 0.5182 MB / 429.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2999, allocations: 8.062 kB / 429.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.2999, allocations: 4 kB / 429.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000256/0.3002, allocations: 60.7 kB / 429.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.3006, allocations: 99.88 kB / 429.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.3022, allocations: 1.771 MB / 431.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.3025, allocations: 59.5 kB / 431.4 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.3025, allocations: 15.98 kB / 431.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004157/0.303, allocations: 269.2 kB / 431.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003595/0.3033, allocations: 253.6 kB / 431.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006624/0.304, allocations: 419.7 kB / 432.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-06/0.304, allocations: 4 kB / 432.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009305/0.305, allocations: 0.5128 MB / 432.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.305, allocations: 8 kB / 432.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.305, allocations: 4 kB / 432.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.3052, allocations: 60.94 kB / 432.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.3056, allocations: 91.89 kB / 433 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.307, allocations: 1.759 MB / 434.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.3073, allocations: 43.66 kB / 434.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.3073, allocations: 23.98 kB / 434.8 MB, free: 6.316 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.3075, allocations: 203.8 kB / 435 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.3075, allocations: 35.56 kB / 435.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.3086, allocations: 0.5006 MB / 435.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3086, allocations: 7.938 kB / 435.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.3086, allocations: 3.938 kB / 435.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3086, allocations: 11.92 kB / 435.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.3103, allocations: 1.08 MB / 436.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3103, allocations: 0 / 436.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/0.3107, allocations: 71.89 kB / 436.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000162/0.3108, allocations: 60.95 kB / 436.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.3109, allocations: 19.92 kB / 436.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.3122, allocations: 1.755 MB / 438.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3122, allocations: 0 / 438.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.3135, allocations: 0.7461 MB / 439.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.3136, allocations: 148.6 kB / 439.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.3137, allocations: 11.98 kB / 439.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.3139, allocations: 19.98 kB / 439.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.314, allocations: 28.41 kB / 439.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.3141, allocations: 20.05 kB / 439.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.3142, allocations: 190 kB / 439.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3142, allocations: 0 / 439.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008028/0.315, allocations: 243.1 kB / 440 MB, free: 0.9336 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0017/0.3168, allocations: 1.325 MB / 441.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.3184, allocations: 0.8836 MB / 442.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3184, allocations: 0 / 442.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005214/0.319, allocations: 342.2 kB / 442.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.3195, allocations: 44.48 kB / 442.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004939/0.3244, allocations: 3.778 MB / 446.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.3248, allocations: 0.821 MB / 447.2 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002957/0.3251, allocations: 71.23 kB / 447.2 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.3253, allocations: 167.3 kB / 447.4 MB, free: 9.25 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3253, allocations: 0 / 447.4 MB, free: 9.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03344/0.3588, allocations: 8.916 MB / 456.3 MB, free: 496 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.46, allocations: 6.578 kB / 456.3 MB, free: 496 kB / 366.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches