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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 116.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 190.7 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 55.92 kB / 366.8 MB, free: 356 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1034, allocations: 52.15 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005609/0.109, allocations: 3.971 MB / 422.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002993/0.112, allocations: 1.585 MB / 424.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.1122, allocations: 8 kB / 424.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.1141, allocations: 0.7738 MB / 425.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.1153, allocations: 0.5286 MB / 425.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.1165, allocations: 0.5476 MB / 426.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007962/0.1173, allocations: 0.5331 MB / 426.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000691/0.118, allocations: 400.1 kB / 427.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.1183, allocations: 235.1 kB / 427.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003591/0.1187, allocations: 290.8 kB / 427.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.308e-05/0.1188, allocations: 52 kB / 427.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005484/0.1193, allocations: 247.8 kB / 428.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.1194, allocations: 119.6 kB / 428.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.1197, allocations: 274.7 kB / 428.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.1207, allocations: 0.7939 MB / 429.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1208, allocations: 0 / 429.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1208, allocations: 0 / 429.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.1208, allocations: 4 kB / 429.3 MB, free: 1.734 MB / 350.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.002303/0.1231, allocations: 0.9742 MB / 430.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1231, allocations: 12.03 kB / 430.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/0.126, allocations: 400.2 kB / 430.7 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007403/0.1267, allocations: 361.5 kB / 431 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.1268, allocations: 45.69 kB / 431.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.1269, allocations: 59.94 kB / 431.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.1282, allocations: 0.6276 MB / 431.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.1282, allocations: 3.984 kB / 431.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/0.1282, allocations: 24 kB / 431.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.1283, allocations: 16 kB / 431.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.1294, allocations: 0.5751 MB / 432.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/0.1327, allocations: 2.17 MB / 434.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.1343, allocations: 1.148 MB / 435.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.1347, allocations: 176.8 kB / 435.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.1348, allocations: 85.11 kB / 435.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.1348, allocations: 34.56 kB / 436 MB, free: 10.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.963e-06/0.1348, allocations: 0 / 436 MB, free: 10.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001753/0.1365, allocations: 0.6942 MB / 436.7 MB, free: 9.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.1366, allocations: 55.41 kB / 436.7 MB, free: 9.809 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.1369, allocations: 274.6 kB / 437 MB, free: 9.539 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.1369, allocations: 29.7 kB / 437 MB, free: 9.504 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.1371, allocations: 253.2 kB / 437.3 MB, free: 9.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.1372, allocations: 154.7 kB / 437.4 MB, free: 9.098 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.1374, allocations: 90.19 kB / 437.5 MB, free: 9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1375, allocations: 338.8 kB / 437.8 MB, free: 8.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.1379, allocations: 155 kB / 438 MB, free: 8.508 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.1383, allocations: 261.9 kB / 438.2 MB, free: 8.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008123/0.1391, allocations: 429.8 kB / 438.7 MB, free: 7.742 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1391, allocations: 0 / 438.7 MB, free: 7.742 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001118/0.1403, allocations: 0.5217 MB / 439.2 MB, free: 7.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1403, allocations: 8 kB / 439.2 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1403, allocations: 4 kB / 439.2 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002794/0.1406, allocations: 53.23 kB / 439.2 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.141, allocations: 103.8 kB / 439.3 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.1428, allocations: 1.771 MB / 441.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.1432, allocations: 55.62 kB / 441.2 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.1432, allocations: 23.92 kB / 441.2 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004756/0.1437, allocations: 269.3 kB / 441.5 MB, free: 4.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003949/0.1441, allocations: 252.2 kB / 441.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007382/0.1448, allocations: 427.8 kB / 442.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.1448, allocations: 0 / 442.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.00102/0.1458, allocations: 0.5089 MB / 442.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1458, allocations: 11.94 kB / 442.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1459, allocations: 8.344 kB / 442.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.146, allocations: 56.83 kB / 442.7 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.1465, allocations: 99.83 kB / 442.8 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.1481, allocations: 1.763 MB / 444.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.1484, allocations: 43.77 kB / 444.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.1484, allocations: 19.94 kB / 444.6 MB, free: 1.387 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002152/0.1487, allocations: 212.9 kB / 444.8 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/0.1487, allocations: 39.73 kB / 444.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.1499, allocations: 0.4967 MB / 445.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.1499, allocations: 8 kB / 445.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1499, allocations: 128 / 445.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.1499, allocations: 7.984 kB / 445.4 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1924/0.3423, allocations: 1.081 MB / 446.5 MB, free: 29.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.3423, allocations: 0 / 446.5 MB, free: 29.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.3427, allocations: 76.59 kB / 446.5 MB, free: 29.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001811/0.3429, allocations: 54.94 kB / 446.6 MB, free: 29.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.3429, allocations: 11.58 kB / 446.6 MB, free: 29.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.344, allocations: 1.751 MB / 448.4 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.344, allocations: 3.531 kB / 448.4 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.3452, allocations: 0.7423 MB / 449.1 MB, free: 27.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.3453, allocations: 156.1 kB / 449.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.3454, allocations: 11.12 kB / 449.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.3456, allocations: 22.38 kB / 449.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.3457, allocations: 32.47 kB / 449.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.3458, allocations: 14.56 kB / 449.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.3459, allocations: 195.1 kB / 449.5 MB, free: 27.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3459, allocations: 0 / 449.5 MB, free: 27.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008436/0.3468, allocations: 243.7 kB / 449.8 MB, free: 27.75 MB / 366.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001872/0.3469, allocations: 138.2 kB / 449.9 MB, free: 27.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.3484, allocations: 0.8414 MB / 450.7 MB, free: 27.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3484, allocations: 3.625 kB / 450.7 MB, free: 27.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.3489, allocations: 318.2 kB / 451.1 MB, free: 27.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.3493, allocations: 41 kB / 451.1 MB, free: 27.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.3506, allocations: 0.8987 MB / 452 MB, free: 26.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.3509, allocations: 0.8243 MB / 452.8 MB, free: 26.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.351, allocations: 42.66 kB / 452.9 MB, free: 26.22 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.351, allocations: 1.25 kB / 452.9 MB, free: 26.22 MB / 366.1 MB Notification: Performance of Templates: time 0.01214/0.3632, allocations: 7.321 MB / 460.2 MB, free: 25.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.478959355968982]