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.001163/0.001163, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001266/0.001266, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 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 0.9913/0.9913, allocations: 177 MB / 205.9 MB, free: 4.453 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.543e-06/1.543e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.699e-05, allocations: 2.938 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.005024/0.005041, allocations: 6.01 MB / 280.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002886/0.007927, allocations: 2.17 MB / 282.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/0.008308, allocations: 31.88 kB / 282.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.009467, allocations: 0.7691 MB / 283.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009301/0.0104, allocations: 0.6131 MB / 283.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.01105, allocations: 0.518 MB / 284.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008205/0.01187, allocations: 1.234 MB / 285.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00093/0.0128, allocations: 0.761 MB / 286.2 MB, free: 8.098 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005297/0.01333, allocations: 0.7055 MB / 286.9 MB, free: 7.391 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003811/0.01371, allocations: 426.7 kB / 287.4 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.761e-05/0.01381, allocations: 112 kB / 287.5 MB, free: 6.863 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.01415, allocations: 275.6 kB / 287.7 MB, free: 6.594 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.01429, allocations: 259 kB / 288 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.01453, allocations: 383 kB / 288.4 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007841/0.01531, allocations: 0.9924 MB / 289.3 MB, free: 4.969 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.01532, allocations: 0 / 289.3 MB, free: 4.969 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01532, allocations: 4 kB / 289.4 MB, free: 4.965 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.01532, allocations: 0 / 289.4 MB, free: 4.965 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.001802/0.01713, allocations: 1.828 MB / 291.2 MB, free: 3.082 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.01715, allocations: 8.031 kB / 291.2 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.01847, allocations: 0.5076 MB / 291.7 MB, free: 2.566 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.01896, allocations: 0.5055 MB / 292.2 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/0.019, allocations: 74.38 kB / 292.3 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.792e-05/0.0191, allocations: 108.3 kB / 292.4 MB, free: 1.852 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.02011, allocations: 0.8291 MB / 293.2 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.02013, allocations: 192 / 293.2 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/0.02019, allocations: 48.12 kB / 293.3 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.02021, allocations: 24 kB / 293.3 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.02067, allocations: 373.6 kB / 293.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/0.02336, allocations: 3.053 MB / 296.7 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008758/0.02424, allocations: 0.7215 MB / 297.4 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.02455, allocations: 257.9 kB / 297.7 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.719e-05/0.02462, allocations: 28.64 kB / 297.7 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003828/0.025, allocations: 482.1 kB / 298.2 MB, free: 11.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=84): time 2.084e-06/0.02501, allocations: 0 / 298.2 MB, free: 11.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=84): time 0.001905/0.02691, allocations: 1.061 MB / 299.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.02698, allocations: 188.9 kB / 299.4 MB, free: 10.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.02725, allocations: 478.3 kB / 299.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.0273, allocations: 41.83 kB / 299.9 MB, free: 9.969 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004673/0.02777, allocations: 491.3 kB / 300.4 MB, free: 9.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.02791, allocations: 293.4 kB / 300.7 MB, free: 9.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.02807, allocations: 168.2 kB / 300.9 MB, free: 9.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.02821, allocations: 0.5507 MB / 301.4 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.02835, allocations: 101.9 kB / 301.5 MB, free: 8.355 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.02863, allocations: 0.4972 MB / 302 MB, free: 7.715 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.02906, allocations: 0.5207 MB / 302.5 MB, free: 7.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.02906, allocations: 0 / 302.5 MB, free: 7.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0007942/0.02985, allocations: 0.7066 MB / 303.2 MB, free: 6.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.02987, allocations: 11.94 kB / 303.2 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.02988, allocations: 4 kB / 303.2 MB, free: 6.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005115/0.03039, allocations: 239.5 kB / 303.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.03067, allocations: 143.7 kB / 303.6 MB, free: 5.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.03378, allocations: 5.003 MB / 308.6 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.03404, allocations: 95.52 kB / 308.7 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.03407, allocations: 28 kB / 308.7 MB, free: 0.6328 MB / 282.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.0001806/0.03425, allocations: 217.7 kB / 309 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/0.03435, allocations: 103.5 kB / 309.1 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008013/0.03515, allocations: 0.6367 MB / 309.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.03515, allocations: 12 kB / 309.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.03515, allocations: 0 / 309.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.03516, allocations: 7.969 kB / 309.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.03652, allocations: 1.277 MB / 311 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.03653, allocations: 4 kB / 311 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.03673, allocations: 99.91 kB / 311.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004543/0.03719, allocations: 227.2 kB / 311.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.03722, allocations: 19.98 kB / 311.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003002/0.04022, allocations: 4.961 MB / 316.3 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.04022, allocations: 3.984 kB / 316.3 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/0.04114, allocations: 0.8967 MB / 317.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.04131, allocations: 139.3 kB / 317.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.04136, allocations: 16 kB / 317.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.04156, allocations: 39.97 kB / 317.4 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.04166, allocations: 80.73 kB / 317.5 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.04169, allocations: 19.98 kB / 317.5 MB, free: 7.551 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001508/0.04184, allocations: 298.7 kB / 317.8 MB, free: 7.262 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04184, allocations: 0 / 317.8 MB, free: 7.262 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006317/0.04247, allocations: 315.3 kB / 318.1 MB, free: 6.953 MB / 298.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.0001946/0.04266, allocations: 163 kB / 318.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007935/0.04346, allocations: 0.9111 MB / 319.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.04346, allocations: 0 / 319.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004978/0.04396, allocations: 0.7164 MB / 319.9 MB, free: 5.074 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.04433, allocations: 125 kB / 320 MB, free: 4.957 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.04639, allocations: 1.543 MB / 321.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.0465, allocations: 188.6 kB / 321.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.04667, allocations: 77.2 kB / 321.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.04691, allocations: 210.1 kB / 322 MB, free: 2.887 MB / 298.7 MB Notification: Performance of SimCode: time 5e-07/0.04691, allocations: 4 kB / 322 MB, free: 2.883 MB / 298.7 MB Notification: Performance of Templates: time 0.01465/0.06156, allocations: 12.91 MB / 334.9 MB, free: 6.145 MB / 314.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.2823727456852794]