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: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 196.3 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 226.6 MB / 244.7 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007268/0.0007268, allocations: 84.25 kB / 296.7 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002012/0.0002013, allocations: 8 kB / 356.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1951, allocations: 51.28 MB / 408 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.002735/0.1979, allocations: 3.39 MB / 411.4 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1998, allocations: 1.474 MB / 412.9 MB, free: 22.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.2, allocations: 12 kB / 412.9 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.2003, allocations: 132 kB / 413 MB, free: 22.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006204/0.2009, allocations: 302.7 kB / 413.3 MB, free: 22.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008291/0.2018, allocations: 0.5409 MB / 413.9 MB, free: 21.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003784/0.2021, allocations: 497.5 kB / 414.4 MB, free: 21.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.2032, allocations: 0.7682 MB / 415.1 MB, free: 20.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.2034, allocations: 183.2 kB / 415.3 MB, free: 20.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.2036, allocations: 243 kB / 415.6 MB, free: 20.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.2037, allocations: 24 kB / 415.6 MB, free: 20.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.204, allocations: 211.8 kB / 415.8 MB, free: 19.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.2041, allocations: 87.61 kB / 415.9 MB, free: 19.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.2042, allocations: 240.5 kB / 416.1 MB, free: 19.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.2046, allocations: 0.597 MB / 416.7 MB, free: 18.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.2046, allocations: 0 / 416.7 MB, free: 18.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2047, allocations: 0 / 416.7 MB, free: 18.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.2047, allocations: 0 / 416.7 MB, free: 18.98 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.001775/0.2064, allocations: 0.8973 MB / 417.6 MB, free: 18.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.2065, allocations: 8.031 kB / 417.6 MB, free: 18.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/0.209, allocations: 411.9 kB / 418 MB, free: 17.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.2094, allocations: 352.4 kB / 418.4 MB, free: 17.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.2094, allocations: 53.61 kB / 418.4 MB, free: 17.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.739e-05/0.2095, allocations: 67.88 kB / 418.5 MB, free: 17.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.2105, allocations: 0.7018 MB / 419.2 MB, free: 16.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.2106, allocations: 0 / 419.2 MB, free: 16.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.532e-05/0.2106, allocations: 20 kB / 419.2 MB, free: 16.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.2107, allocations: 29.3 kB / 419.2 MB, free: 16.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.2117, allocations: 0.704 MB / 419.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.2145, allocations: 2.437 MB / 422.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.2156, allocations: 1.199 MB / 423.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/0.216, allocations: 240.1 kB / 423.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.433e-05/0.2161, allocations: 174.5 kB / 424 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.2161, allocations: 34.56 kB / 424 MB, free: 11.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 1.573e-06/0.2161, allocations: 0 / 424 MB, free: 11.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.001525/0.2177, allocations: 0.8151 MB / 424.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.2177, allocations: 63.39 kB / 424.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.2179, allocations: 274.5 kB / 425.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.2179, allocations: 33.69 kB / 425.2 MB, free: 9.977 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.218, allocations: 244.3 kB / 425.4 MB, free: 9.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.376e-05/0.2181, allocations: 149.8 kB / 425.6 MB, free: 9.582 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.2181, allocations: 12 kB / 425.6 MB, free: 9.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.216e-05/0.2182, allocations: 342.8 kB / 425.9 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.2185, allocations: 193 kB / 426.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.2189, allocations: 298.4 kB / 426.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007154/0.2196, allocations: 0.5007 MB / 426.9 MB, free: 8.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2196, allocations: 0 / 426.9 MB, free: 8.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009765/0.2206, allocations: 0.607 MB / 427.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.648e-05/0.2207, allocations: 185.4 kB / 427.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2207, allocations: 7.938 kB / 427.7 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/0.2209, allocations: 56.83 kB / 427.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.2213, allocations: 111.8 kB / 427.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009967/0.2223, allocations: 1.588 MB / 429.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.2226, allocations: 59.42 kB / 429.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.2227, allocations: 35.94 kB / 429.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.919e-06/0.2227, allocations: 4 kB / 429.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008975/0.2236, allocations: 0.5428 MB / 430.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2236, allocations: 4 kB / 430.1 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001284/0.2238, allocations: 52.83 kB / 430.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.2241, allocations: 99.88 kB / 430.2 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008071/0.225, allocations: 1.519 MB / 431.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.2252, allocations: 55.52 kB / 431.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.2253, allocations: 23.98 kB / 431.8 MB, free: 2.875 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.0001897/0.2255, allocations: 253 kB / 432.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.2255, allocations: 31.56 kB / 432.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.2265, allocations: 0.5982 MB / 432.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2266, allocations: 4 kB / 432.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.2266, allocations: 0 / 432.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.2266, allocations: 7.922 kB / 432.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.2281, allocations: 1.237 MB / 434 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2281, allocations: 0 / 434 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.2285, allocations: 99.81 kB / 434.1 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001458/0.2287, allocations: 44.83 kB / 434.1 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.2287, allocations: 12 kB / 434.1 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.2299, allocations: 1.592 MB / 435.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2299, allocations: 0 / 435.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.2314, allocations: 0.8975 MB / 436.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.2315, allocations: 148.6 kB / 436.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.2316, allocations: 8 kB / 436.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.2318, allocations: 23.92 kB / 436.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.2319, allocations: 40.33 kB / 436.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.232, allocations: 19.98 kB / 436.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001762/0.2321, allocations: 190 kB / 437 MB, free: 13.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2321, allocations: 4.062 kB / 437 MB, free: 13.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008099/0.233, allocations: 247.1 kB / 437.3 MB, free: 13.18 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.0002241/0.2332, allocations: 135.2 kB / 437.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.2349, allocations: 1.016 MB / 438.4 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2349, allocations: 4.062 kB / 438.4 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005908/0.2355, allocations: 385.1 kB / 438.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.236, allocations: 40.55 kB / 438.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.2375, allocations: 1.14 MB / 440 MB, free: 10.4 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.2378, allocations: 0.8252 MB / 440.8 MB, free: 9.547 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.238, allocations: 51.41 kB / 440.8 MB, free: 9.496 MB / 314.7 MB Notification: Performance of SimCode: time 2.8e-07/0.238, allocations: 0 / 440.8 MB, free: 9.496 MB / 314.7 MB Notification: Performance of Templates: time 0.009488/0.2475, allocations: 8.094 MB / 448.9 MB, free: 1.406 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (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 & ./Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode --alarm=480 -emit_protected > 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/jenkins/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