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.00694/0.00694, allocations: 94.22 kB / 21.93 MB, free: 5.727 MB / 14.72 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.001736/0.001736, allocations: 214 kB / 25.22 MB, free: 3.289 MB / 14.72 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 1.505/1.505, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 62.52 kB / 348.5 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2897, allocations: 49.15 MB / 397.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.006935/0.2967, allocations: 5.562 MB / 403.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004646/0.3013, allocations: 2.07 MB / 405.2 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009748/0.3023, allocations: 25.56 kB / 405.3 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.3043, allocations: 0.7112 MB / 406 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.3062, allocations: 0.6158 MB / 406.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.3074, allocations: 497.2 kB / 407.1 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.3089, allocations: 1.193 MB / 408.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.31, allocations: 0.7542 MB / 409 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006857/0.3107, allocations: 479.5 kB / 409.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006819/0.3114, allocations: 0.4948 MB / 410 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.3115, allocations: 111.8 kB / 410.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006958/0.3122, allocations: 250.2 kB / 410.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.3124, allocations: 253.1 kB / 410.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004586/0.3129, allocations: 467.1 kB / 411 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.3145, allocations: 1.476 MB / 412.5 MB, free: 204 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3145, allocations: 0 / 412.5 MB, free: 204 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3145, allocations: 0.6875 kB / 412.5 MB, free: 204 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.3146, allocations: 0 / 412.5 MB, free: 204 kB / 318.1 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.003569/0.3181, allocations: 1.675 MB / 414.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3182, allocations: 12.52 kB / 414.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003028/0.3212, allocations: 481.1 kB / 414.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.3224, allocations: 0.511 MB / 415.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.471e-05/0.3225, allocations: 75.41 kB / 415.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.3227, allocations: 104.5 kB / 415.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.3248, allocations: 1.157 MB / 416.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.3249, allocations: 6.391 kB / 416.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.325, allocations: 44.81 kB / 416.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.325, allocations: 28.66 kB / 416.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.3269, allocations: 0.9096 MB / 417.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005918/0.3328, allocations: 3.065 MB / 420.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.3349, allocations: 0.9006 MB / 421.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008776/0.3358, allocations: 406.8 kB / 421.9 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.083e-05/0.3359, allocations: 12.41 kB / 421.9 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009673/0.3368, allocations: 0.6011 MB / 422.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=86): time 2.745e-06/0.3368, allocations: 0 / 422.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=86): time 0.004492/0.3413, allocations: 1.498 MB / 424 MB, free: 8.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.3415, allocations: 196.9 kB / 424.2 MB, free: 8.207 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006899/0.3422, allocations: 453.7 kB / 424.6 MB, free: 7.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.786e-05/0.3422, allocations: 45.69 kB / 424.7 MB, free: 7.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.3426, allocations: 440.6 kB / 425.1 MB, free: 7.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.3429, allocations: 293.4 kB / 425.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.3432, allocations: 170.6 kB / 425.5 MB, free: 6.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.3434, allocations: 370.8 kB / 425.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005989/0.344, allocations: 277.9 kB / 426.2 MB, free: 6.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008639/0.3449, allocations: 0.6165 MB / 426.8 MB, free: 5.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.3463, allocations: 0.7953 MB / 427.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/0.3463, allocations: 4 kB / 427.6 MB, free: 4.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002161/0.3485, allocations: 1.057 MB / 428.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.3485, allocations: 8 kB / 428.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.3485, allocations: 11.98 kB / 428.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009269/0.3494, allocations: 273.7 kB / 428.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/0.3501, allocations: 163.7 kB / 429.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005778/0.3558, allocations: 4.537 MB / 433.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007761/0.3566, allocations: 107.4 kB / 433.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.489e-05/0.3567, allocations: 39.98 kB / 433.8 MB, free: 14.12 MB / 350.1 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.0004858/0.3572, allocations: 249.5 kB / 434 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.3573, allocations: 71.58 kB / 434.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.3594, allocations: 0.9712 MB / 435.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.3594, allocations: 8 kB / 435.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3594, allocations: 4.062 kB / 435.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.3594, allocations: 7.984 kB / 435.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/0.3627, allocations: 1.659 MB / 436.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.3627, allocations: 4 kB / 436.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.3631, allocations: 99.81 kB / 436.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007791/0.3639, allocations: 273.4 kB / 437.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.3639, allocations: 12 kB / 437.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005566/0.3695, allocations: 4.503 MB / 441.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.3695, allocations: 4.031 kB / 441.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.3722, allocations: 1.374 MB / 443 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/0.3726, allocations: 139.3 kB / 443.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.966e-05/0.3727, allocations: 19.98 kB / 443.2 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.3731, allocations: 47.91 kB / 443.2 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.3733, allocations: 72.86 kB / 443.3 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.3734, allocations: 24 kB / 443.3 MB, free: 4.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003831/0.3738, allocations: 303.1 kB / 443.6 MB, free: 4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3738, allocations: 0 / 443.6 MB, free: 4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001232/0.375, allocations: 315.3 kB / 443.9 MB, free: 3.691 MB / 350.1 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.0003393/0.3753, allocations: 166.9 kB / 444.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.3775, allocations: 1.07 MB / 445.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.3775, allocations: 4.125 kB / 445.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.3788, allocations: 0.7156 MB / 445.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007209/0.3795, allocations: 118.2 kB / 446 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/0.3832, allocations: 1.75 MB / 447.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.3837, allocations: 408.4 kB / 448.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.3839, allocations: 55.42 kB / 448.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3839, allocations: 0 / 448.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Templates: time 0.02602/0.4099, allocations: 17.82 MB / 466 MB, free: 13.43 MB / 382.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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: 8.825220815837383]