Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007895/0.0007895, allocations: 91.61 kB / 22.18 MB, free: 2.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008098/0.0008098, allocations: 156.9 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8172/0.8172, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.077e-05, allocations: 2.281 kB / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.004553/0.004574, allocations: 5.561 MB / 305.3 MB, free: 1.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.007695, allocations: 2.076 MB / 307.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005451/0.00824, allocations: 27.88 kB / 307.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.009308, allocations: 0.7496 MB / 308.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.01035, allocations: 0.6287 MB / 308.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007146/0.01107, allocations: 0.4946 MB / 309.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.01215, allocations: 1.233 MB / 310.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008323/0.01298, allocations: 0.757 MB / 311.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005785/0.01356, allocations: 0.6821 MB / 311.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004357/0.01399, allocations: 422.7 kB / 312.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.0141, allocations: 112 kB / 312.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.01444, allocations: 271.6 kB / 312.7 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.01457, allocations: 251 kB / 312.9 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.01479, allocations: 379.1 kB / 313.3 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.0159, allocations: 1.511 MB / 314.8 MB, free: 7.715 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.01591, allocations: 4 kB / 314.8 MB, free: 7.711 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01591, allocations: 0 / 314.8 MB, free: 7.711 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.476e-05/0.01593, allocations: 0 / 314.8 MB, free: 7.711 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.002181/0.01811, allocations: 1.67 MB / 316.5 MB, free: 5.992 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.01815, allocations: 11.98 kB / 316.5 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.01957, allocations: 483.8 kB / 317 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006264/0.0202, allocations: 0.5087 MB / 317.5 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/0.02025, allocations: 74.41 kB / 317.6 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.02035, allocations: 100.4 kB / 317.7 MB, free: 4.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.02158, allocations: 1.156 MB / 318.8 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.0216, allocations: 4.141 kB / 318.8 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.02166, allocations: 47.94 kB / 318.9 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.02168, allocations: 32 kB / 318.9 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.02277, allocations: 0.9018 MB / 319.8 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003077/0.02585, allocations: 3.064 MB / 322.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.02698, allocations: 0.9111 MB / 323.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/0.02749, allocations: 407.5 kB / 324.2 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/0.02754, allocations: 16.59 kB / 324.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005623/0.0281, allocations: 0.5934 MB / 324.8 MB, free: 13.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=86): time 1.893e-06/0.0281, allocations: 3.938 kB / 324.8 MB, free: 13.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.002366/0.03047, allocations: 1.493 MB / 326.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/0.03054, allocations: 200.9 kB / 326.5 MB, free: 11.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.03087, allocations: 445.8 kB / 326.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.03091, allocations: 45.69 kB / 327 MB, free: 11.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.0311, allocations: 440.5 kB / 327.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.03124, allocations: 293.5 kB / 327.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.03139, allocations: 166.6 kB / 327.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.03149, allocations: 378.7 kB / 328.2 MB, free: 9.906 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.03183, allocations: 273.9 kB / 328.5 MB, free: 9.641 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.03228, allocations: 0.6165 MB / 329.1 MB, free: 8.902 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/0.03306, allocations: 0.8031 MB / 329.9 MB, free: 8.004 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.03306, allocations: 4 kB / 329.9 MB, free: 8 MB / 314.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001161/0.03423, allocations: 1.053 MB / 330.9 MB, free: 6.934 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.03424, allocations: 8 kB / 331 MB, free: 6.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.03425, allocations: 8 kB / 331 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005054/0.03476, allocations: 277.5 kB / 331.2 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.03505, allocations: 159.8 kB / 331.4 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/0.03848, allocations: 4.544 MB / 335.9 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.03878, allocations: 103.5 kB / 336 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.03882, allocations: 40.06 kB / 336.1 MB, free: 1.598 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean1.y,$PRE.iAC.mean1.y,iAC.mean2.y,$PRE.iAC.mean2.y,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 (90): * Single equations (assignments): 88 * 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.0002315/0.03905, allocations: 253.5 kB / 336.3 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.03911, allocations: 75.52 kB / 336.4 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.04028, allocations: 0.9751 MB / 337.4 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.04029, allocations: 8 kB / 337.4 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.04029, allocations: 0 / 337.4 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.0403, allocations: 3.984 kB / 337.4 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.04206, allocations: 1.671 MB / 339 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.04206, allocations: 0 / 339 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.04228, allocations: 95.88 kB / 339.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004138/0.04269, allocations: 261.7 kB / 339.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.04272, allocations: 31.86 kB / 339.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002983/0.04571, allocations: 4.498 MB / 343.9 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.04571, allocations: 0 / 343.9 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.04715, allocations: 1.37 MB / 345.3 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.04731, allocations: 139.3 kB / 345.4 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.04735, allocations: 19.94 kB / 345.5 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.04756, allocations: 47.95 kB / 345.5 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.04767, allocations: 80.8 kB / 345.6 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.0477, allocations: 20 kB / 345.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002038/0.0479, allocations: 307.1 kB / 345.9 MB, free: 7.449 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0479, allocations: 0 / 345.9 MB, free: 7.449 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006226/0.04852, allocations: 315.3 kB / 346.2 MB, free: 7.141 MB / 330.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,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y,iAC.mean1.y) * 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 (59): * Single equations (assignments): 54 * 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.0002176/0.04874, allocations: 143.2 kB / 346.3 MB, free: 6.992 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.04988, allocations: 1.069 MB / 347.4 MB, free: 5.906 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.04988, allocations: 448 / 347.4 MB, free: 5.906 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006308/0.05051, allocations: 0.7198 MB / 348.1 MB, free: 5.156 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.05088, allocations: 114.5 kB / 348.2 MB, free: 5.047 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.05281, allocations: 1.672 MB / 349.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.05307, allocations: 412.4 kB / 350.3 MB, free: 2.895 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.05319, allocations: 60.42 kB / 350.4 MB, free: 2.836 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.05319, allocations: 0 / 350.4 MB, free: 2.836 MB / 330.7 MB Notification: Performance of Templates: time 0.1316/0.1848, allocations: 17.81 MB / 368.2 MB, free: 53.4 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.60152499563992]