Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001958/0.001958, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001992/0.001992, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.798e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.01255/0.01258, allocations: 6.096 MB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006083/0.01866, allocations: 2.172 MB / 280.5 MB, free: 9.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006767/0.01934, allocations: 23.88 kB / 280.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002786/0.02213, allocations: 0.7925 MB / 281.3 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002256/0.02438, allocations: 0.6092 MB / 281.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.02604, allocations: 0.5298 MB / 282.4 MB, free: 7.535 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002392/0.02843, allocations: 1.237 MB / 283.7 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001905/0.03034, allocations: 0.761 MB / 284.4 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.03185, allocations: 0.6977 MB / 285.1 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009531/0.03281, allocations: 426.8 kB / 285.5 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002462/0.03305, allocations: 112 kB / 285.6 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008355/0.03389, allocations: 279.6 kB / 285.9 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003634/0.03425, allocations: 255.1 kB / 286.2 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006887/0.03494, allocations: 391 kB / 286.6 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.03771, allocations: 1.526 MB / 288.1 MB, free: 1.844 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.03771, allocations: 3.984 kB / 288.1 MB, free: 1.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.03771, allocations: 0 / 288.1 MB, free: 1.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.03773, allocations: 0 / 288.1 MB, free: 1.84 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.1167/0.1544, allocations: 2.027 MB / 290.1 MB, free: 28.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1544, allocations: 12.64 kB / 290.1 MB, free: 28.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002577/0.157, allocations: 0.5063 MB / 290.6 MB, free: 28.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008517/0.1579, allocations: 0.5303 MB / 291.2 MB, free: 28.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.441e-05/0.1579, allocations: 75.83 kB / 291.2 MB, free: 28.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.1581, allocations: 110.6 kB / 291.3 MB, free: 28.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.1597, allocations: 1.146 MB / 292.5 MB, free: 27.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.1598, allocations: 2.109 kB / 292.5 MB, free: 27.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.287e-05/0.1598, allocations: 43.94 kB / 292.5 MB, free: 27.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.1599, allocations: 27.62 kB / 292.6 MB, free: 27.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.1614, allocations: 0.7896 MB / 293.3 MB, free: 27.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004747/0.1661, allocations: 3.558 MB / 296.9 MB, free: 25.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.1679, allocations: 0.8643 MB / 297.8 MB, free: 24.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008175/0.1687, allocations: 405 kB / 298.2 MB, free: 24.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.1688, allocations: 25.89 kB / 298.2 MB, free: 24.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009322/0.1697, allocations: 0.625 MB / 298.8 MB, free: 24.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.725e-06/0.1698, allocations: 0.625 kB / 298.8 MB, free: 24.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.004409/0.1742, allocations: 1.475 MB / 300.3 MB, free: 23.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.1742, allocations: 195.7 kB / 300.5 MB, free: 23.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000556/0.1748, allocations: 0.5996 MB / 301.1 MB, free: 23.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.1748, allocations: 46.94 kB / 301.1 MB, free: 23.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.175, allocations: 0.4898 MB / 301.6 MB, free: 22.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.1752, allocations: 303.3 kB / 301.9 MB, free: 22.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.1755, allocations: 194.2 kB / 302.1 MB, free: 22.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1756, allocations: 0.5821 MB / 302.7 MB, free: 21.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/0.1761, allocations: 242.2 kB / 302.9 MB, free: 21.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005861/0.1766, allocations: 0.6541 MB / 303.6 MB, free: 21.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.1776, allocations: 0.7962 MB / 304.4 MB, free: 20.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.1777, allocations: 2.469 kB / 304.4 MB, free: 20.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001665/0.1793, allocations: 1.032 MB / 305.4 MB, free: 20.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1793, allocations: 11.81 kB / 305.4 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.1793, allocations: 3.906 kB / 305.4 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009975/0.1803, allocations: 300 kB / 305.7 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.1808, allocations: 143.3 kB / 305.9 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004318/0.1852, allocations: 5.854 MB / 311.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005302/0.1857, allocations: 92.27 kB / 311.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/0.1857, allocations: 36 kB / 311.8 MB, free: 13.84 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003009/0.186, allocations: 289.9 kB / 312.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.1862, allocations: 95.58 kB / 312.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.1879, allocations: 0.9284 MB / 313.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1879, allocations: 8 kB / 313.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.1879, allocations: 0 / 313.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.1879, allocations: 7.922 kB / 313.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.1905, allocations: 1.849 MB / 315 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1905, allocations: 0 / 315 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/0.1909, allocations: 99.81 kB / 315.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008754/0.1917, allocations: 297.6 kB / 315.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/0.1918, allocations: 22.61 kB / 315.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004036/0.1958, allocations: 5.801 MB / 321.2 MB, free: 4.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1958, allocations: 0 / 321.2 MB, free: 4.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.1978, allocations: 1.393 MB / 322.6 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.198, allocations: 145.2 kB / 322.7 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.789e-05/0.1981, allocations: 20 kB / 322.8 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.1985, allocations: 35.97 kB / 322.8 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.1987, allocations: 76.77 kB / 322.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.1987, allocations: 32 kB / 322.9 MB, free: 2.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002814/0.199, allocations: 374.8 kB / 323.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.199, allocations: 0 / 323.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009223/0.1999, allocations: 319.3 kB / 323.6 MB, free: 1.754 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002231/0.2001, allocations: 165.9 kB / 323.7 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.2017, allocations: 1.199 MB / 324.9 MB, free: 368 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2017, allocations: 0 / 324.9 MB, free: 368 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.2029, allocations: 0.8614 MB / 325.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/0.2036, allocations: 125.2 kB / 325.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.2067, allocations: 1.635 MB / 327.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.2072, allocations: 412.3 kB / 328 MB, free: 13.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003089/0.2075, allocations: 81.2 kB / 328 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.2076, allocations: 48.5 kB / 328.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.2076, allocations: 0 / 328.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of Templates: time 0.02364/0.2313, allocations: 11.84 MB / 339.9 MB, free: 1.457 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.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: 5.172296524047852]