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.001688/0.001688, allocations: 119.4 kB / 18.41 MB, free: 4.539 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.00188/0.00188, allocations: 188.3 kB / 21.34 MB, free: 1.605 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.462/1.462, allocations: 222.9 MB / 247.1 MB, free: 4.184 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.00154/0.00154, allocations: 55.91 kB / 358.7 MB, free: 8.309 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1024, allocations: 49.43 MB / 408.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005521/0.108, allocations: 3.953 MB / 412.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002976/0.111, allocations: 1.569 MB / 413.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.1113, allocations: 16 kB / 413.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.1133, allocations: 0.7699 MB / 414.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.1146, allocations: 0.5131 MB / 414.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.1158, allocations: 0.5477 MB / 415.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007453/0.1165, allocations: 0.5292 MB / 416 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008073/0.1174, allocations: 496 kB / 416.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003898/0.1178, allocations: 235.1 kB / 416.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.1181, allocations: 298.8 kB / 417 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.309e-05/0.1182, allocations: 52 kB / 417.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005325/0.1188, allocations: 247.8 kB / 417.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1189, allocations: 115.5 kB / 417.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.1192, allocations: 270.7 kB / 417.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.1202, allocations: 0.8016 MB / 418.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1202, allocations: 0 / 418.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1202, allocations: 4 kB / 418.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.1202, allocations: 0 / 418.5 MB, free: 12.41 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.002257/0.1225, allocations: 0.9626 MB / 419.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1226, allocations: 12.03 kB / 419.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/0.1255, allocations: 408.2 kB / 419.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006392/0.1261, allocations: 366.6 kB / 420.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.78e-05/0.1262, allocations: 49.69 kB / 420.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.1263, allocations: 63.94 kB / 420.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.1275, allocations: 0.6276 MB / 420.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.1275, allocations: 0 / 420.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.1276, allocations: 28 kB / 421 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.1276, allocations: 12 kB / 421 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.1288, allocations: 0.5751 MB / 421.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003345/0.1322, allocations: 2.166 MB / 423.7 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.1339, allocations: 1.184 MB / 424.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/0.1343, allocations: 188.8 kB / 425.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.1345, allocations: 101.4 kB / 425.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1345, allocations: 38.5 kB / 425.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.384e-06/0.1345, allocations: 0 / 425.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001813/0.1363, allocations: 0.6825 MB / 425.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.1364, allocations: 63.39 kB / 426 MB, free: 4.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.1367, allocations: 274.6 kB / 426.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.1368, allocations: 29.7 kB / 426.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.137, allocations: 248.9 kB / 426.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.1371, allocations: 158.6 kB / 426.7 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.1373, allocations: 86.2 kB / 426.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1374, allocations: 346.8 kB / 427.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.1378, allocations: 159 kB / 427.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/0.1383, allocations: 253.1 kB / 427.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008167/0.1391, allocations: 437.8 kB / 427.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.1391, allocations: 0 / 427.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001122/0.1402, allocations: 0.5258 MB / 428.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1403, allocations: 4 kB / 428.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1403, allocations: 4 kB / 428.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.1405, allocations: 56.83 kB / 428.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/0.141, allocations: 103.8 kB / 428.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1917/0.3328, allocations: 1.765 MB / 430.4 MB, free: 21.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.3332, allocations: 60.7 kB / 430.4 MB, free: 21.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.3333, allocations: 22.59 kB / 430.5 MB, free: 21.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004222/0.3337, allocations: 274.2 kB / 430.7 MB, free: 21.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002926/0.334, allocations: 251.2 kB / 431 MB, free: 21.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000562/0.3346, allocations: 419 kB / 431.4 MB, free: 21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.3346, allocations: 3.25 kB / 431.4 MB, free: 21 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0008793/0.3355, allocations: 0.5137 MB / 431.9 MB, free: 20.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3355, allocations: 9.125 kB / 431.9 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3355, allocations: 3.719 kB / 431.9 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001742/0.3357, allocations: 56.67 kB / 432 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.3361, allocations: 95.05 kB / 432.1 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.3371, allocations: 1.759 MB / 433.8 MB, free: 19.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.3374, allocations: 41.59 kB / 433.9 MB, free: 19.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.3375, allocations: 20.05 kB / 433.9 MB, free: 19.48 MB / 350.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.0001254/0.3376, allocations: 213 kB / 434.1 MB, free: 19.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.3377, allocations: 38.58 kB / 434.1 MB, free: 19.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009774/0.3386, allocations: 0.5079 MB / 434.6 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3387, allocations: 3.75 kB / 434.6 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3387, allocations: 1.656 kB / 434.6 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.3387, allocations: 1.969 kB / 434.6 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.3401, allocations: 1.079 MB / 435.7 MB, free: 18.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3402, allocations: 0.6875 kB / 435.7 MB, free: 18.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.3405, allocations: 79.44 kB / 435.8 MB, free: 18.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001657/0.3407, allocations: 51.28 kB / 435.8 MB, free: 18.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.3407, allocations: 12.22 kB / 435.9 MB, free: 18.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.3418, allocations: 1.766 MB / 437.6 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3418, allocations: 0.75 kB / 437.6 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.3432, allocations: 0.7497 MB / 438.4 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.3434, allocations: 147.8 kB / 438.5 MB, free: 17.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.3434, allocations: 9.906 kB / 438.5 MB, free: 17.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.3437, allocations: 21.44 kB / 438.6 MB, free: 17.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.3438, allocations: 31.69 kB / 438.6 MB, free: 17.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.3439, allocations: 14.73 kB / 438.6 MB, free: 17.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002178/0.3441, allocations: 195.9 kB / 438.8 MB, free: 17.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3441, allocations: 1.25 kB / 438.8 MB, free: 17.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008915/0.345, allocations: 242.6 kB / 439 MB, free: 16.96 MB / 350.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.0002298/0.3453, allocations: 138 kB / 439.2 MB, free: 16.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.347, allocations: 0.8921 MB / 440.1 MB, free: 16.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.347, allocations: 1.25 kB / 440.1 MB, free: 16.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005247/0.3475, allocations: 340.6 kB / 440.4 MB, free: 16.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.3479, allocations: 42.73 kB / 440.4 MB, free: 16.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.3494, allocations: 0.9028 MB / 441.3 MB, free: 16.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.3497, allocations: 0.821 MB / 442.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.3499, allocations: 44.7 kB / 442.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3499, allocations: 2.078 kB / 442.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of Templates: time 0.01151/0.3614, allocations: 7.291 MB / 449.5 MB, free: 14.27 MB / 350.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.528402262949385]