Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003531/0.003536, allocations: 188.4 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.18/3.18, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001661/0.001662, allocations: 106.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006323/0.0006325, allocations: 11.98 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1673, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.008513/0.1759, allocations: 3.336 MB / 377.9 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005409/0.1814, allocations: 1.505 MB / 379.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006767/0.1821, allocations: 11.94 kB / 379.4 MB, free: 10.56 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009065/0.1831, allocations: 143.1 kB / 379.5 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.186, allocations: 0.4907 MB / 380 MB, free: 9.926 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.1882, allocations: 442.8 kB / 380.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.1898, allocations: 391.2 kB / 380.8 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002969/0.1929, allocations: 0.7089 MB / 381.5 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007421/0.1936, allocations: 207.2 kB / 381.7 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007084/0.1944, allocations: 266.9 kB / 382 MB, free: 7.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.1945, allocations: 24 kB / 382 MB, free: 7.887 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009316/0.1955, allocations: 183.8 kB / 382.2 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.1957, allocations: 95.64 kB / 382.3 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.196, allocations: 117.4 kB / 382.4 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.1978, allocations: 0.6275 MB / 383 MB, free: 6.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1979, allocations: 0 / 383 MB, free: 6.863 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.927e-06/0.1979, allocations: 0 / 383 MB, free: 6.863 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.255e-05/0.1979, allocations: 0 / 383 MB, free: 6.863 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.005188/0.2031, allocations: 0.9289 MB / 384 MB, free: 5.883 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.2032, allocations: 12.03 kB / 384 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.2134, allocations: 0.6081 MB / 384.6 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.2149, allocations: 372.1 kB / 385 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.2151, allocations: 57.95 kB / 385 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/0.2153, allocations: 63.91 kB / 385.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/0.2187, allocations: 0.8017 MB / 385.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.237e-05/0.2188, allocations: 3.984 kB / 385.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.219, allocations: 32 kB / 385.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.651e-05/0.2191, allocations: 26 kB / 385.9 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004089/0.2232, allocations: 0.8472 MB / 386.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00957/0.2329, allocations: 2.731 MB / 389.5 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4191/0.652, allocations: 1.954 MB / 391.5 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.6523, allocations: 89.05 kB / 391.6 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.6524, allocations: 44.42 kB / 391.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=48): time 5.631e-06/0.6524, allocations: 0.6562 kB / 391.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.01279/0.6652, allocations: 0.8414 MB / 392.4 MB, free: 18.36 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.6653, allocations: 57.45 kB / 392.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007532/0.6661, allocations: 313.4 kB / 392.8 MB, free: 18.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.6662, allocations: 31.39 kB / 392.8 MB, free: 18.15 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.6666, allocations: 348.3 kB / 393.2 MB, free: 17.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.6669, allocations: 166.6 kB / 393.3 MB, free: 17.81 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.6669, allocations: 12.97 kB / 393.4 MB, free: 17.81 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.6671, allocations: 335.3 kB / 393.7 MB, free: 17.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.6681, allocations: 204.2 kB / 393.9 MB, free: 17.44 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.6694, allocations: 397.6 kB / 394.3 MB, free: 17.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/0.6829, allocations: 244.3 kB / 394.5 MB, free: 17.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.567e-05/0.683, allocations: 9.688 kB / 394.5 MB, free: 17.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.01009/0.6931, allocations: 0.6949 MB / 395.2 MB, free: 16.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00899/0.7022, allocations: 2.349 MB / 397.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.82e-05/0.7023, allocations: 10.84 kB / 397.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006899/0.7031, allocations: 55.77 kB / 397.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.7047, allocations: 138.5 kB / 397.8 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/0.7078, allocations: 1.607 MB / 399.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.7091, allocations: 80.42 kB / 399.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.7093, allocations: 32.84 kB / 399.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.7093, allocations: 4.25 kB / 399.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003565/0.7129, allocations: 0.6376 MB / 400.1 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/0.713, allocations: 10.94 kB / 400.1 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004025/0.7135, allocations: 58 kB / 400.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01374/0.7272, allocations: 136.8 kB / 400.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002595/0.7299, allocations: 1.52 MB / 401.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009488/0.7309, allocations: 59.53 kB / 401.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.7311, allocations: 29.02 kB / 401.9 MB, free: 10.84 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (69): * Single equations (assignments): 68 * 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.0006401/0.7317, allocations: 268.4 kB / 402.2 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.7319, allocations: 33.77 kB / 402.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/0.7492, allocations: 0.6193 MB / 402.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.7493, allocations: 9.031 kB / 402.9 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.7493, allocations: 1 kB / 402.9 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/0.7494, allocations: 4.125 kB / 402.9 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006879/0.7563, allocations: 1.312 MB / 404.2 MB, free: 9.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.7564, allocations: 0 / 404.2 MB, free: 9.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.7577, allocations: 96.22 kB / 404.3 MB, free: 9.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00053/0.7583, allocations: 51.08 kB / 404.3 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/0.7585, allocations: 19.12 kB / 404.3 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0029/0.7614, allocations: 1.593 MB / 405.9 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.7615, allocations: 4.984 kB / 405.9 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004864/0.7664, allocations: 0.9303 MB / 406.9 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004621/0.7669, allocations: 153.9 kB / 407 MB, free: 7.379 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.7671, allocations: 6.453 kB / 407 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008491/0.768, allocations: 28.12 kB / 407 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/0.7682, allocations: 38.47 kB / 407.1 MB, free: 7.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.7684, allocations: 16.62 kB / 407.1 MB, free: 7.352 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005471/0.7689, allocations: 211.3 kB / 407.3 MB, free: 7.234 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.7689, allocations: 0 / 407.3 MB, free: 7.234 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002748/0.7717, allocations: 276.9 kB / 407.6 MB, free: 7.16 MB / 282.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 (46): * Single equations (assignments): 45 * 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.0004713/0.7723, allocations: 131.2 kB / 407.7 MB, free: 7.059 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.005888/0.7782, allocations: 1.122 MB / 408.8 MB, free: 6.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/0.7783, allocations: 8 kB / 408.8 MB, free: 6.492 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.7801, allocations: 393.7 kB / 409.2 MB, free: 6.277 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008523/0.781, allocations: 34.05 kB / 409.2 MB, free: 6.262 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/0.7859, allocations: 1.245 MB / 410.5 MB, free: 5.477 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007145/0.7866, allocations: 0.8481 MB / 411.3 MB, free: 4.773 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005961/0.7873, allocations: 63.19 kB / 411.4 MB, free: 4.754 MB / 282.7 MB Notification: Performance of SimCode: time 1.433e-06/0.7873, allocations: 0 / 411.4 MB, free: 4.754 MB / 282.7 MB Notification: Performance of Templates: time 0.03214/0.8195, allocations: 8.554 MB / 420 MB, free: 1.277 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesBode/SeriesBode.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches