Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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 3.2.3+maint.om/package.mo", uses=false) 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 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.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_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_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001153, allocations: 97.17 kB / 16.94 MB, free: 5.98 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.001261/0.001261, allocations: 183 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.000492, allocations: 19.28 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1089, allocations: 47.58 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.004316/0.1133, allocations: 3.325 MB / 331.7 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003038/0.1164, allocations: 1.513 MB / 333.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004903/0.1169, allocations: 12 kB / 333.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005962/0.1175, allocations: 135.2 kB / 333.3 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.1191, allocations: 0.4907 MB / 333.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.1201, allocations: 438.8 kB / 334.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008198/0.121, allocations: 399.1 kB / 334.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.1224, allocations: 0.7089 MB / 335.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.1228, allocations: 211.2 kB / 335.5 MB, free: 12.83 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003758/0.1231, allocations: 258.9 kB / 335.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.036e-05/0.1232, allocations: 24 kB / 335.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004519/0.1237, allocations: 183.8 kB / 336 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.032e-05/0.1238, allocations: 99.62 kB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1239, allocations: 113.4 kB / 336.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007138/0.1246, allocations: 0.6391 MB / 336.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1246, allocations: 0 / 336.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1246, allocations: 0 / 336.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.1247, allocations: 0 / 336.8 MB, free: 11.52 MB / 286.1 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.002457/0.1271, allocations: 0.925 MB / 337.8 MB, free: 10.54 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1272, allocations: 8.031 kB / 337.8 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004256/0.1314, allocations: 0.6003 MB / 338.4 MB, free: 9.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006629/0.1321, allocations: 380.1 kB / 338.8 MB, free: 9.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.805e-05/0.1322, allocations: 53.95 kB / 338.8 MB, free: 9.465 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.1323, allocations: 71.91 kB / 338.9 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.1338, allocations: 0.7977 MB / 339.7 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.1338, allocations: 0 / 339.7 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.1339, allocations: 32 kB / 339.7 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.134, allocations: 22 kB / 339.7 MB, free: 8.531 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.1356, allocations: 0.8472 MB / 340.6 MB, free: 7.688 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004279/0.1399, allocations: 2.731 MB / 343.3 MB, free: 4.777 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.142, allocations: 1.969 MB / 345.3 MB, free: 2.473 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.587e-05/0.1421, allocations: 85.55 kB / 345.4 MB, free: 2.371 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.1421, allocations: 46.94 kB / 345.4 MB, free: 2.316 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 1.723e-06/0.1422, allocations: 0 / 345.4 MB, free: 2.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.001983/0.1441, allocations: 0.8406 MB / 346.2 MB, free: 1.449 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1442, allocations: 59.84 kB / 346.3 MB, free: 1.379 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.1446, allocations: 312.4 kB / 346.6 MB, free: 1.066 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.1446, allocations: 37.64 kB / 346.6 MB, free: 1.023 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.1448, allocations: 287.7 kB / 346.9 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.145, allocations: 161.7 kB / 347.1 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.145, allocations: 19.94 kB / 347.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1452, allocations: 350.8 kB / 347.4 MB, free: 212 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/0.1457, allocations: 201.2 kB / 347.6 MB, free: 12 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005815/0.1462, allocations: 398.3 kB / 348 MB, free: 15.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.1468, allocations: 251.6 kB / 348.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.1468, allocations: 0 / 348.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001327/0.1481, allocations: 0.7042 MB / 349 MB, free: 14.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001017/0.1491, allocations: 2.351 MB / 351.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.1492, allocations: 11.98 kB / 351.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002883/0.1495, allocations: 56.83 kB / 351.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/0.15, allocations: 139.7 kB / 351.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.1516, allocations: 1.604 MB / 353.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.152, allocations: 71.33 kB / 353.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.2e-05/0.1521, allocations: 36 kB / 353.2 MB, free: 9.988 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.1521, allocations: 4 kB / 353.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001164/0.1532, allocations: 0.6451 MB / 353.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.1533, allocations: 7.953 kB / 353.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.1535, allocations: 57.02 kB / 354 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.154, allocations: 147.8 kB / 354.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.1553, allocations: 1.523 MB / 355.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.1557, allocations: 63.38 kB / 355.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/0.1557, allocations: 35.98 kB / 355.7 MB, free: 7.371 MB / 302.1 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.0003195/0.1561, allocations: 261 kB / 356 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.881e-05/0.1561, allocations: 43.48 kB / 356 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.1574, allocations: 0.6142 MB / 356.6 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1574, allocations: 4 kB / 356.6 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1574, allocations: 4 kB / 356.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.1574, allocations: 7.984 kB / 356.6 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.1594, allocations: 1.305 MB / 357.9 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1594, allocations: 0 / 357.9 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.1598, allocations: 91.88 kB / 358 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/0.1601, allocations: 57.2 kB / 358.1 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.1601, allocations: 23.92 kB / 358.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.1615, allocations: 1.584 MB / 359.7 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1615, allocations: 0 / 359.7 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.1631, allocations: 0.9249 MB / 360.6 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.1633, allocations: 156.6 kB / 360.8 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/0.1634, allocations: 12 kB / 360.8 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.1637, allocations: 28.05 kB / 360.8 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1638, allocations: 36.33 kB / 360.9 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.1638, allocations: 19.98 kB / 360.9 MB, free: 1.953 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002855/0.1641, allocations: 211.1 kB / 361.1 MB, free: 1.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1641, allocations: 0 / 361.1 MB, free: 1.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001095/0.1652, allocations: 275.1 kB / 361.3 MB, free: 1.48 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 (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.0003449/0.1656, allocations: 143.2 kB / 361.5 MB, free: 1.332 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002148/0.1677, allocations: 1.112 MB / 362.6 MB, free: 204 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.1678, allocations: 4.188 kB / 362.6 MB, free: 200 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007332/0.1685, allocations: 396.9 kB / 363 MB, free: 15.79 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1689, allocations: 36.59 kB / 363 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.1707, allocations: 1.212 MB / 364.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.1713, allocations: 0.8486 MB / 365.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001386/0.1727, allocations: 1.098 MB / 366.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1728, allocations: 51.42 kB / 366.2 MB, free: 12.5 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1728, allocations: 0 / 366.2 MB, free: 12.5 MB / 318.1 MB Notification: Performance of Templates: time 0.01081/0.1836, allocations: 5.217 MB / 371.5 MB, free: 7.277 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/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_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches