Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009484/0.0009484, allocations: 95.2 kB / 16.3 MB, free: 5.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 180.1 kB / 17.2 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 223.2 MB / 241.1 MB, free: 380 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 4 kB / 300.7 MB, free: 6.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.119, allocations: 50.42 MB / 351.1 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005656/0.1247, allocations: 3.218 MB / 354.4 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003476/0.1282, allocations: 1.43 MB / 355.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003643/0.1286, allocations: 12 kB / 355.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005541/0.1292, allocations: 139.2 kB / 355.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.1308, allocations: 454.6 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.1321, allocations: 437.8 kB / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008562/0.133, allocations: 355.2 kB / 357.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.1348, allocations: 0.7166 MB / 357.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003831/0.1352, allocations: 179.3 kB / 358 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/0.1357, allocations: 231 kB / 358.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.437e-05/0.1358, allocations: 24 kB / 358.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000578/0.1363, allocations: 183.8 kB / 358.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1365, allocations: 79.67 kB / 358.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.1366, allocations: 109.5 kB / 358.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009115/0.1375, allocations: 0.5963 MB / 359.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.1375, allocations: 0 / 359.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.646e-06/0.1376, allocations: 4 kB / 359.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.1376, allocations: 0 / 359.3 MB, free: 11.86 MB / 302.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.003502/0.1411, allocations: 0.8893 MB / 360.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1412, allocations: 8.031 kB / 360.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00352/0.1447, allocations: 414.9 kB / 360.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.1452, allocations: 340.2 kB / 360.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.1453, allocations: 41.31 kB / 360.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.1454, allocations: 56 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.1465, allocations: 0.7018 MB / 361.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.1466, allocations: 3.984 kB / 361.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/0.1466, allocations: 27.95 kB / 361.7 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.1467, allocations: 21.31 kB / 361.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.1479, allocations: 0.704 MB / 362.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003157/0.1511, allocations: 2.366 MB / 364.8 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.1525, allocations: 1.204 MB / 366 MB, free: 4.676 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.002e-05/0.1526, allocations: 89.09 kB / 366.1 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1527, allocations: 38.56 kB / 366.1 MB, free: 4.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.295e-06/0.1527, allocations: 0 / 366.1 MB, free: 4.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001775/0.1545, allocations: 0.8158 MB / 367 MB, free: 3.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.1545, allocations: 55.41 kB / 367 MB, free: 3.613 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.1548, allocations: 270.6 kB / 367.3 MB, free: 3.344 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.1548, allocations: 29.7 kB / 367.3 MB, free: 3.309 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.155, allocations: 252.6 kB / 367.6 MB, free: 3.055 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.1551, allocations: 149.8 kB / 367.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.1552, allocations: 4 kB / 367.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1553, allocations: 342.8 kB / 368 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.1557, allocations: 193 kB / 368.2 MB, free: 2.371 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.1562, allocations: 306.3 kB / 368.5 MB, free: 2.023 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.1567, allocations: 215.6 kB / 368.7 MB, free: 1.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1567, allocations: 0 / 368.7 MB, free: 1.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001324/0.158, allocations: 0.6108 MB / 369.3 MB, free: 1.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.1502/0.3083, allocations: 1.309 MB / 370.7 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.3083, allocations: 3.531 kB / 370.7 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003148/0.3086, allocations: 55.78 kB / 370.7 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.3092, allocations: 112.1 kB / 370.8 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.3105, allocations: 1.598 MB / 372.4 MB, free: 22.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.3109, allocations: 67.77 kB / 372.5 MB, free: 22.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/0.311, allocations: 25.66 kB / 372.5 MB, free: 22.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.311, allocations: 3.812 kB / 372.5 MB, free: 22.66 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001027/0.312, allocations: 0.5448 MB / 373.1 MB, free: 22.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.312, allocations: 3.719 kB / 373.1 MB, free: 22.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.3122, allocations: 52.83 kB / 373.1 MB, free: 22.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.3126, allocations: 105.6 kB / 373.2 MB, free: 22.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009468/0.3136, allocations: 1.517 MB / 374.7 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.3139, allocations: 58.7 kB / 374.8 MB, free: 21.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.3139, allocations: 21.86 kB / 374.8 MB, free: 21.35 MB / 302.1 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.0002463/0.3142, allocations: 254.3 kB / 375.1 MB, free: 21.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.3143, allocations: 34.88 kB / 375.1 MB, free: 21.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.3155, allocations: 0.6003 MB / 375.7 MB, free: 21.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3156, allocations: 7.953 kB / 375.7 MB, free: 21.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3156, allocations: 1.406 kB / 375.7 MB, free: 21.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3156, allocations: 2.391 kB / 375.7 MB, free: 21.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.3173, allocations: 1.236 MB / 376.9 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.3173, allocations: 0 / 376.9 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.3177, allocations: 88.83 kB / 377 MB, free: 20.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001603/0.3179, allocations: 51.14 kB / 377.1 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.3179, allocations: 18.73 kB / 377.1 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009825/0.3189, allocations: 1.59 MB / 378.7 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3189, allocations: 0.9688 kB / 378.7 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.3204, allocations: 0.895 MB / 379.6 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.3205, allocations: 156.5 kB / 379.7 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.3206, allocations: 11.94 kB / 379.7 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.3208, allocations: 18.84 kB / 379.8 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.3209, allocations: 32.78 kB / 379.8 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.321, allocations: 21.16 kB / 379.8 MB, free: 18.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.3211, allocations: 195.1 kB / 380 MB, free: 18.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3211, allocations: 1.375 kB / 380 MB, free: 18.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000805/0.3219, allocations: 239.7 kB / 380.2 MB, free: 18.15 MB / 302.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 (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.0001875/0.3221, allocations: 138.9 kB / 380.4 MB, free: 18.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.3237, allocations: 1.027 MB / 381.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3238, allocations: 0 / 381.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005381/0.3243, allocations: 398 kB / 381.8 MB, free: 17.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.3246, allocations: 32.38 kB / 381.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3259, allocations: 1.103 MB / 382.9 MB, free: 16.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.3262, allocations: 0.8401 MB / 383.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001428/0.3276, allocations: 1.079 MB / 384.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.3278, allocations: 42.7 kB / 384.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3278, allocations: 0 / 384.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of Templates: time 0.008694/0.3365, allocations: 4.938 MB / 389.8 MB, free: 14.53 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches