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.001966/0.001966, allocations: 117.7 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002044/0.002044, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 59.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2826, allocations: 50.55 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005288/0.2879, allocations: 3.956 MB / 412.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.2908, allocations: 1.616 MB / 414.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002295/0.2911, allocations: 12 kB / 414.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.2929, allocations: 0.7778 MB / 415.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009111/0.2938, allocations: 370 kB / 415.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.295, allocations: 0.6777 MB / 416.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005893/0.2956, allocations: 0.5292 MB / 416.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000706/0.2963, allocations: 0.4977 MB / 417.2 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.2967, allocations: 239.1 kB / 417.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.297, allocations: 298.8 kB / 417.7 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.362e-05/0.297, allocations: 52 kB / 417.8 MB, free: 8.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004282/0.2975, allocations: 247.8 kB / 418 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.569e-05/0.2976, allocations: 123.5 kB / 418.1 MB, free: 8.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.2978, allocations: 266.7 kB / 418.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009322/0.2988, allocations: 0.8061 MB / 419.2 MB, free: 7.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2988, allocations: 0 / 419.2 MB, free: 7.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2988, allocations: 4 kB / 419.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.2988, 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.002147/0.3009, allocations: 0.9519 MB / 420.1 MB, free: 6.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.301, allocations: 8.031 kB / 420.1 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.3012, allocations: 116 kB / 420.3 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/0.304, allocations: 407.9 kB / 420.7 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005827/0.3045, allocations: 357.3 kB / 421 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.3046, allocations: 53.44 kB / 421.1 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.523e-05/0.3047, allocations: 63.94 kB / 421.1 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.3058, allocations: 0.6354 MB / 421.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.3058, allocations: 0 / 421.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.3059, allocations: 24 kB / 421.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.3059, allocations: 16 kB / 421.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.307, allocations: 0.5829 MB / 422.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.3099, allocations: 2.244 MB / 424.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.3114, allocations: 1.185 MB / 425.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.3118, allocations: 192.8 kB / 426 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.3119, allocations: 170.5 kB / 426.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.312, allocations: 38.56 kB / 426.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 3.176e-06/0.312, allocations: 0 / 426.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001627/0.3136, allocations: 0.69 MB / 426.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.3137, allocations: 59.41 kB / 426.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.3139, allocations: 278.5 kB / 427.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.314, allocations: 29.7 kB / 427.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.3141, allocations: 244.4 kB / 427.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.3143, allocations: 153.8 kB / 427.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.3144, allocations: 82.25 kB / 427.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3145, allocations: 346.8 kB / 428.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/0.3149, allocations: 151 kB / 428.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.3152, allocations: 257.9 kB / 428.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007051/0.316, allocations: 441.7 kB / 428.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.316, allocations: 0 / 428.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001008/0.317, allocations: 0.5142 MB / 429.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.317, allocations: 10.81 kB / 429.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.317, allocations: 4 kB / 429.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/0.3173, allocations: 60.98 kB / 429.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.3177, allocations: 107.8 kB / 429.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.3194, allocations: 1.755 MB / 431.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.3197, allocations: 55.42 kB / 431.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.3197, allocations: 23.98 kB / 431.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003954/0.3201, allocations: 269.1 kB / 431.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003494/0.3205, allocations: 253.6 kB / 431.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006399/0.3212, allocations: 419.7 kB / 432.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.514e-06/0.3212, allocations: 0 / 432.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009272/0.3221, allocations: 0.5126 MB / 432.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3221, allocations: 8 kB / 432.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3221, allocations: 0 / 432.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.3223, allocations: 57.23 kB / 432.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.3227, allocations: 103.8 kB / 433 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.3241, allocations: 1.763 MB / 434.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.3244, allocations: 43.53 kB / 434.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.3244, allocations: 20 kB / 434.8 MB, free: 6.328 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.0001732/0.3246, allocations: 208.2 kB / 435 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.191e-05/0.3247, allocations: 35.56 kB / 435.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.3258, allocations: 0.4967 MB / 435.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.3258, allocations: 8 kB / 435.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3258, allocations: 7.875 kB / 435.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.3258, allocations: 3.984 kB / 435.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.3274, allocations: 1.084 MB / 436.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3275, allocations: 0 / 436.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.3278, allocations: 79.89 kB / 436.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.328, allocations: 48.83 kB / 436.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.328, allocations: 16.05 kB / 436.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.3296, allocations: 1.747 MB / 438.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3297, allocations: 8.047 kB / 438.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.3311, allocations: 0.7461 MB / 439.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.3314, allocations: 144.7 kB / 439.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/0.3314, allocations: 19.98 kB / 439.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.3317, allocations: 12 kB / 439.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/0.3318, allocations: 36.33 kB / 439.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.3318, allocations: 15.98 kB / 439.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.332, allocations: 194 kB / 439.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.332, allocations: 0 / 439.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009793/0.333, allocations: 239.1 kB / 440 MB, free: 0.9492 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.001903/0.3349, allocations: 1.325 MB / 441.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.3367, allocations: 0.8885 MB / 442.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3367, allocations: 4 kB / 442.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.3373, allocations: 341 kB / 442.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.3377, allocations: 52.64 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.005792/0.3435, allocations: 3.766 MB / 446.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.3441, allocations: 0.8288 MB / 447.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.3444, allocations: 75.17 kB / 447.2 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.3447, allocations: 163.4 kB / 447.4 MB, free: 9.258 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3447, allocations: 0 / 447.4 MB, free: 9.258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03291/0.3776, allocations: 8.916 MB / 456.3 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.912/10.29, allocations: 13.59 kB / 456.3 MB, free: 500 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