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.001866/0.001866, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001569/0.001569, allocations: 212 kB / 24.47 MB, free: 3.547 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.493/1.493, allocations: 207.7 MB / 235.3 MB, free: 9.809 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.001843/0.001843, allocations: 58.52 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.263, allocations: 49.15 MB / 396.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.006635/0.2697, allocations: 5.563 MB / 402.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004234/0.2739, allocations: 2.078 MB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006839/0.2746, allocations: 25.81 kB / 404.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.2764, allocations: 0.7016 MB / 405.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.2781, allocations: 0.6126 MB / 405.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.2792, allocations: 0.4926 MB / 406.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.2804, allocations: 1.193 MB / 407.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009742/0.2814, allocations: 0.7527 MB / 408.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005648/0.282, allocations: 479.8 kB / 408.7 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006948/0.2827, allocations: 0.4889 MB / 409.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.2828, allocations: 110.7 kB / 409.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006217/0.2834, allocations: 248.7 kB / 409.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.2836, allocations: 257.8 kB / 409.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000407/0.284, allocations: 459.1 kB / 410.3 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.2855, allocations: 1.482 MB / 411.8 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2855, allocations: 5.312 kB / 411.8 MB, free: 204 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2855, allocations: 0 / 411.8 MB, free: 204 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.2855, allocations: 0 / 411.8 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.003521/0.289, allocations: 1.671 MB / 413.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.289, allocations: 12.95 kB / 413.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002974/0.292, allocations: 489.1 kB / 413.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.2931, allocations: 0.4982 MB / 414.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.883e-05/0.2932, allocations: 83.91 kB / 414.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.2933, allocations: 105.2 kB / 414.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.2953, allocations: 1.153 MB / 415.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.19e-05/0.2954, allocations: 8.828 kB / 415.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.2955, allocations: 49.42 kB / 415.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.2955, allocations: 25 kB / 415.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.2975, allocations: 0.9052 MB / 416.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00555/0.303, allocations: 3.075 MB / 419.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.3051, allocations: 0.8987 MB / 420.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008876/0.306, allocations: 407.2 kB / 421.1 MB, free: 9.949 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.339e-05/0.306, allocations: 17.3 kB / 421.1 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.3071, allocations: 0.597 MB / 421.7 MB, free: 9.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=86): time 2.855e-06/0.3071, allocations: 0 / 421.7 MB, free: 9.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=86): time 0.00454/0.3116, allocations: 1.488 MB / 423.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.3117, allocations: 204.9 kB / 423.4 MB, free: 8.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005946/0.3123, allocations: 457.7 kB / 423.9 MB, free: 7.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.3124, allocations: 41.7 kB / 423.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/0.3128, allocations: 440.5 kB / 424.3 MB, free: 7.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.313, allocations: 301.4 kB / 424.6 MB, free: 6.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.3133, allocations: 166.6 kB / 424.8 MB, free: 6.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.3135, allocations: 374.8 kB / 425.2 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/0.314, allocations: 273.9 kB / 425.4 MB, free: 6.156 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009476/0.315, allocations: 0.6204 MB / 426.1 MB, free: 5.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.3165, allocations: 0.7875 MB / 426.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.3165, allocations: 4 kB / 426.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002272/0.3187, allocations: 1.061 MB / 427.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.3188, allocations: 8 kB / 427.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.3188, allocations: 4.062 kB / 427.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009152/0.3197, allocations: 281.6 kB / 428.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.3203, allocations: 151.8 kB / 428.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006009/0.3263, allocations: 4.554 MB / 432.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007767/0.3271, allocations: 107.4 kB / 433 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.804e-05/0.3272, allocations: 32.06 kB / 433 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.0005931/0.3278, allocations: 257.5 kB / 433.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.3279, allocations: 67.58 kB / 433.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.3301, allocations: 0.979 MB / 434.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.3301, allocations: 8 kB / 434.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.3301, allocations: 0 / 434.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.3301, allocations: 3.984 kB / 434.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/0.3335, allocations: 1.663 MB / 436 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3335, allocations: 0 / 436 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004634/0.334, allocations: 103.8 kB / 436.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008411/0.3348, allocations: 257.5 kB / 436.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.54e-05/0.3349, allocations: 27.98 kB / 436.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005841/0.3407, allocations: 4.503 MB / 440.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3407, allocations: 0 / 440.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002944/0.3437, allocations: 1.374 MB / 442.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/0.3441, allocations: 143.3 kB / 442.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.3443, allocations: 20 kB / 442.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.3448, allocations: 39.97 kB / 442.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.345, allocations: 76.8 kB / 442.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-05/0.345, allocations: 27.98 kB / 442.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004289/0.3455, allocations: 299.1 kB / 442.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3455, allocations: 4 kB / 442.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001324/0.3468, allocations: 311.3 kB / 443.2 MB, free: 3.684 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.0003405/0.3471, allocations: 163 kB / 443.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.3494, allocations: 1.064 MB / 444.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.3494, allocations: 4 kB / 444.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.3508, allocations: 0.7171 MB / 445.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007109/0.3515, allocations: 110.1 kB / 445.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/0.3554, allocations: 1.72 MB / 446.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.3559, allocations: 408.4 kB / 447.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003753/0.3563, allocations: 85.31 kB / 447.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.3565, allocations: 47.42 kB / 447.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3565, allocations: 0 / 447.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Templates: time 0.02491/0.3814, allocations: 12.61 MB / 460.1 MB, free: 2.617 MB / 366.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/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.397877687588334]