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.001042/0.001042, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001792/0.001792, allocations: 160.5 kB / 24.56 MB, free: 16 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.083/1.083, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.313e-06/1.313e-06, allocations: 0 / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.629e-05, allocations: 5.266 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.005414/0.00543, allocations: 6.167 MB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003344/0.008774, allocations: 2.18 MB / 281.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000306/0.00908, allocations: 27.88 kB / 281.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.01022, allocations: 0.7887 MB / 282.1 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008689/0.01109, allocations: 0.6169 MB / 282.7 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000669/0.01176, allocations: 0.5142 MB / 283.2 MB, free: 7.121 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008059/0.01256, allocations: 1.234 MB / 284.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007278/0.01329, allocations: 0.7648 MB / 285.2 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005185/0.01381, allocations: 0.6938 MB / 285.9 MB, free: 4.398 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.01421, allocations: 438.7 kB / 286.3 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.01432, allocations: 108 kB / 286.4 MB, free: 3.863 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.01465, allocations: 283.6 kB / 286.7 MB, free: 3.586 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.01479, allocations: 259 kB / 287 MB, free: 3.332 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.01503, allocations: 379.1 kB / 287.3 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.01607, allocations: 0.9963 MB / 288.3 MB, free: 1.961 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.01607, allocations: 0 / 288.3 MB, free: 1.961 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01607, allocations: 0 / 288.3 MB, free: 1.961 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.01608, allocations: 0 / 288.3 MB, free: 1.961 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.001819/0.0179, allocations: 1.797 MB / 290.1 MB, free: 112 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.01793, allocations: 15.98 kB / 290.1 MB, free: 96 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1338/0.1518, allocations: 0.5089 MB / 290.6 MB, free: 18.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/0.1527, allocations: 0.5247 MB / 291.2 MB, free: 18.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.757e-05/0.1527, allocations: 74 kB / 291.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.1529, allocations: 111.3 kB / 291.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.1542, allocations: 0.8914 MB / 292.2 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.1542, allocations: 6.484 kB / 292.3 MB, free: 18.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/0.1543, allocations: 41.95 kB / 292.3 MB, free: 18.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.1543, allocations: 32.98 kB / 292.3 MB, free: 18.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.1552, allocations: 464 kB / 292.8 MB, free: 18.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/0.1586, allocations: 3.133 MB / 295.9 MB, free: 17.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.1598, allocations: 0.7748 MB / 296.7 MB, free: 17.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.1603, allocations: 292.8 kB / 297 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.115e-05/0.1604, allocations: 31.33 kB / 297 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005286/0.161, allocations: 0.4936 MB / 297.5 MB, free: 16.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.745e-06/0.161, allocations: 0.5469 kB / 297.5 MB, free: 16.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.002498/0.1635, allocations: 1.152 MB / 298.6 MB, free: 16.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.1635, allocations: 195.7 kB / 298.8 MB, free: 16.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004417/0.164, allocations: 481.1 kB / 299.3 MB, free: 16.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.164, allocations: 42.42 kB / 299.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.1642, allocations: 486.9 kB / 299.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.1644, allocations: 290.5 kB / 300.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.1646, allocations: 165.8 kB / 300.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1647, allocations: 0.541 MB / 300.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.165, allocations: 134.5 kB / 300.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.1653, allocations: 0.5257 MB / 301.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006083/0.1659, allocations: 0.5668 MB / 302 MB, free: 14.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.1659, allocations: 3.562 kB / 302 MB, free: 14.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001239/0.1672, allocations: 0.7792 MB / 302.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.1672, allocations: 12.31 kB / 302.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.1672, allocations: 6.062 kB / 302.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007237/0.1679, allocations: 245.1 kB / 303.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.1683, allocations: 147.3 kB / 303.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/0.1713, allocations: 5.138 MB / 308.4 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.1717, allocations: 92.36 kB / 308.4 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.1717, allocations: 37.14 kB / 308.5 MB, free: 9.695 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.0002381/0.172, allocations: 208.4 kB / 308.7 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-05/0.172, allocations: 102.2 kB / 308.8 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008991/0.1729, allocations: 0.7074 MB / 309.5 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1729, allocations: 9.875 kB / 309.5 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.1729, allocations: 1.312 kB / 309.5 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.173, allocations: 6.703 kB / 309.5 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.1747, allocations: 1.441 MB / 311 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1747, allocations: 0 / 311 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.175, allocations: 92.34 kB / 311 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004979/0.1755, allocations: 240.2 kB / 311.3 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.1755, allocations: 24.8 kB / 311.3 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002397/0.1779, allocations: 5.095 MB / 316.4 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1779, allocations: 0 / 316.4 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.179, allocations: 0.9961 MB / 317.4 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.1791, allocations: 135.3 kB / 317.5 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.1792, allocations: 16 kB / 317.5 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.1794, allocations: 35.98 kB / 317.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.1795, allocations: 76.86 kB / 317.7 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.1795, allocations: 23.98 kB / 317.7 MB, free: 3.008 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001786/0.1797, allocations: 314.8 kB / 318 MB, free: 2.703 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1797, allocations: 0 / 318 MB, free: 2.703 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007932/0.1805, allocations: 315.3 kB / 318.3 MB, free: 2.395 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.0002319/0.1808, allocations: 159.5 kB / 318.4 MB, free: 2.246 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009616/0.1817, allocations: 0.9761 MB / 319.4 MB, free: 1.262 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1817, allocations: 0 / 319.4 MB, free: 1.262 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005232/0.1822, allocations: 0.7424 MB / 320.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.1826, allocations: 119.3 kB / 320.3 MB, free: 392 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.1849, allocations: 1.562 MB / 321.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.1851, allocations: 190.9 kB / 322 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001878/0.1853, allocations: 77.2 kB / 322.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.1854, allocations: 52.48 kB / 322.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of SimCode: time 1.423e-06/0.1854, allocations: 0 / 322.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of Templates: time 0.01588/0.2012, allocations: 11.85 MB / 334 MB, free: 2.832 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5567187420092523]