Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000983/0.000983, allocations: 191.8 kB / 17.37 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 226.5 MB / 244.7 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009453/0.0009454, allocations: 97.8 kB / 296.7 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002243/0.0002244, allocations: 8 kB / 356.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2054, allocations: 51.29 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.002706/0.2082, allocations: 3.386 MB / 411.5 MB, free: 24.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.21, allocations: 1.474 MB / 413 MB, free: 22.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.2101, allocations: 8.75 kB / 413 MB, free: 22.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.2105, allocations: 131.3 kB / 413.1 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006043/0.2111, allocations: 310.8 kB / 413.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008298/0.2119, allocations: 0.5382 MB / 414 MB, free: 21.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.2123, allocations: 482 kB / 414.4 MB, free: 21.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.2133, allocations: 0.7832 MB / 415.2 MB, free: 20.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.2136, allocations: 183.2 kB / 415.4 MB, free: 20.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.2138, allocations: 247 kB / 415.6 MB, free: 20.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.2138, allocations: 20 kB / 415.7 MB, free: 20.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.2142, allocations: 211.8 kB / 415.9 MB, free: 19.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.2142, allocations: 83.61 kB / 416 MB, free: 19.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.2144, allocations: 244.5 kB / 416.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.2148, allocations: 0.6012 MB / 416.8 MB, free: 18.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.2148, allocations: 4 kB / 416.8 MB, free: 18.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2148, allocations: 0 / 416.8 MB, free: 18.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.2148, allocations: 0 / 416.8 MB, free: 18.99 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.00175/0.2166, allocations: 0.8895 MB / 417.7 MB, free: 18.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.2166, allocations: 8.031 kB / 417.7 MB, free: 18.04 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.2167, allocations: 108 kB / 417.8 MB, free: 17.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/0.2192, allocations: 419.9 kB / 418.2 MB, free: 17.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.2196, allocations: 356.1 kB / 418.6 MB, free: 17.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.2197, allocations: 49.44 kB / 418.6 MB, free: 17.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.806e-05/0.2198, allocations: 63.91 kB / 418.7 MB, free: 17.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.2209, allocations: 0.7096 MB / 419.4 MB, free: 16.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.2209, allocations: 0 / 419.4 MB, free: 16.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.221, allocations: 24 kB / 419.4 MB, free: 16.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.221, allocations: 21.31 kB / 419.4 MB, free: 16.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.2221, allocations: 0.7079 MB / 420.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002828/0.225, allocations: 2.461 MB / 422.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.2261, allocations: 1.19 MB / 423.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.2265, allocations: 232.8 kB / 424 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-05/0.2266, allocations: 174.5 kB / 424.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.2266, allocations: 50.48 kB / 424.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 1.914e-06/0.2266, allocations: 0 / 424.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.001552/0.2282, allocations: 0.8151 MB / 425 MB, free: 10.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.2282, allocations: 63.34 kB / 425.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.2284, allocations: 270.5 kB / 425.4 MB, free: 9.875 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.2284, allocations: 29.7 kB / 425.4 MB, free: 9.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.2285, allocations: 252.2 kB / 425.6 MB, free: 9.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.2286, allocations: 153.8 kB / 425.8 MB, free: 9.434 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.2286, allocations: 8 kB / 425.8 MB, free: 9.426 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.2287, allocations: 342.8 kB / 426.1 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.229, allocations: 185 kB / 426.3 MB, free: 8.898 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.2294, allocations: 302.4 kB / 426.6 MB, free: 8.562 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006981/0.2301, allocations: 0.5123 MB / 427.1 MB, free: 8.004 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2301, allocations: 0 / 427.1 MB, free: 8.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009645/0.2311, allocations: 0.5992 MB / 427.7 MB, free: 7.395 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.2312, allocations: 189.1 kB / 427.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2312, allocations: 7.984 kB / 427.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002158/0.2314, allocations: 56.83 kB / 428 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.2318, allocations: 99.88 kB / 428.1 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.2328, allocations: 1.604 MB / 429.7 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.2332, allocations: 55.47 kB / 429.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.2332, allocations: 23.98 kB / 429.8 MB, free: 5.176 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.869e-06/0.2332, allocations: 4 kB / 429.8 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008654/0.2341, allocations: 0.5468 MB / 430.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2341, allocations: 4.406 kB / 430.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/0.2342, allocations: 56.77 kB / 430.4 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.2346, allocations: 111.8 kB / 430.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008201/0.2354, allocations: 1.5 MB / 432 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.2357, allocations: 55.52 kB / 432 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.2358, allocations: 20 kB / 432 MB, free: 2.746 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.236, allocations: 260.9 kB / 432.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.236, allocations: 35.61 kB / 432.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.2371, allocations: 0.5903 MB / 432.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2371, allocations: 7.938 kB / 432.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.2371, allocations: 4 kB / 432.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2371, allocations: 0 / 432.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.2386, allocations: 1.244 MB / 434.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2387, allocations: 0 / 434.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.239, allocations: 91.88 kB / 434.3 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001511/0.2392, allocations: 52.77 kB / 434.3 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.2392, allocations: 12 kB / 434.3 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.2405, allocations: 1.588 MB / 435.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2405, allocations: 0 / 435.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.2421, allocations: 0.8897 MB / 436.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.2423, allocations: 156.5 kB / 437 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.2423, allocations: 8 kB / 437 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.2426, allocations: 28.05 kB / 437 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.2427, allocations: 32.39 kB / 437 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.2428, allocations: 15.98 kB / 437.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001801/0.243, allocations: 190 kB / 437.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.243, allocations: 0 / 437.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008097/0.2438, allocations: 255.1 kB / 437.5 MB, free: 13.05 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001976/0.2458, allocations: 1.481 MB / 439 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.2476, allocations: 1.016 MB / 440 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2477, allocations: 4 kB / 440 MB, free: 10.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005934/0.2483, allocations: 389.2 kB / 440.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.2487, allocations: 42.11 kB / 440.4 MB, free: 10.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.2529, allocations: 2.686 MB / 443.1 MB, free: 7.273 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.2533, allocations: 0.8291 MB / 443.9 MB, free: 6.418 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.2536, allocations: 179.3 kB / 444.1 MB, free: 6.242 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2536, allocations: 0 / 444.1 MB, free: 6.242 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.095/3.349, allocations: 8.986 MB / 453.1 MB, free: 13.25 MB / 330.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.fmu > Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches