Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 184.4 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 43.92 kB / 370.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2467, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.01107/0.2578, allocations: 6.294 MB / 429.4 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005031/0.2628, allocations: 2.141 MB / 431.6 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004492/0.2633, allocations: 23.88 kB / 431.6 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002364/0.2657, allocations: 0.7649 MB / 432.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.2678, allocations: 0.765 MB / 433.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.2691, allocations: 0.491 MB / 433.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.2709, allocations: 1.176 MB / 434.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.2722, allocations: 0.6657 MB / 435.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007286/0.273, allocations: 478.3 kB / 435.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00096/0.2739, allocations: 0.5367 MB / 436.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002172/0.2741, allocations: 108 kB / 436.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007213/0.2749, allocations: 267.8 kB / 436.8 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.2752, allocations: 251.1 kB / 437.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007221/0.2759, allocations: 0.5404 MB / 437.6 MB, free: 96 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.2782, allocations: 1.451 MB / 439.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2782, allocations: 0 / 439.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2782, allocations: 4 kB / 439.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.2783, allocations: 0 / 439.1 MB, free: 14.63 MB / 350.1 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.004729/0.283, allocations: 1.647 MB / 440.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.283, allocations: 8.031 kB / 440.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003779/0.2868, allocations: 379.9 kB / 441.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.2881, allocations: 0.4939 MB / 441.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.202e-05/0.2882, allocations: 78.38 kB / 441.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.2884, allocations: 100.4 kB / 441.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/0.2913, allocations: 1.02 MB / 442.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-05/0.2913, allocations: 0 / 442.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.2914, allocations: 47.94 kB / 442.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.2915, allocations: 24 kB / 442.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.2941, allocations: 0.8511 MB / 443.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007672/0.3018, allocations: 3.345 MB / 447 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/0.3046, allocations: 0.8582 MB / 447.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.3059, allocations: 397.8 kB / 448.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.165e-05/0.306, allocations: 12.66 kB / 448.3 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/0.3074, allocations: 0.4968 MB / 448.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 5.06e-06/0.3074, allocations: 0 / 448.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.006816/0.3142, allocations: 1.485 MB / 450.3 MB, free: 3.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.3144, allocations: 192.9 kB / 450.5 MB, free: 2.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008391/0.3152, allocations: 457.9 kB / 450.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.931e-05/0.3153, allocations: 41.7 kB / 451 MB, free: 2.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000474/0.3158, allocations: 424.7 kB / 451.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003528/0.3162, allocations: 289.6 kB / 451.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003749/0.3165, allocations: 154.6 kB / 451.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002631/0.3168, allocations: 374.7 kB / 452.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008769/0.3177, allocations: 265.9 kB / 452.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.3188, allocations: 491.2 kB / 452.9 MB, free: 332 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/0.3208, allocations: 0.7434 MB / 453.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3208, allocations: 0 / 453.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003105/0.3239, allocations: 1.018 MB / 454.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.3239, allocations: 8 kB / 454.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.3239, allocations: 4 kB / 454.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.3252, allocations: 269.5 kB / 454.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008632/0.3261, allocations: 143.7 kB / 455.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008913/0.335, allocations: 4.662 MB / 459.7 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009588/0.336, allocations: 95.44 kB / 459.8 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/0.336, allocations: 32 kB / 459.9 MB, free: 9.051 MB / 366.1 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.0006831/0.3367, allocations: 253.4 kB / 460.1 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.3369, allocations: 71.58 kB / 460.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/0.3401, allocations: 0.9475 MB / 461.1 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.3401, allocations: 11.94 kB / 461.1 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3401, allocations: 0 / 461.1 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.3401, allocations: 7.969 kB / 461.2 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005058/0.3452, allocations: 1.869 MB / 463 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.3452, allocations: 0 / 463 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006883/0.3459, allocations: 99.81 kB / 463.1 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/0.347, allocations: 264.6 kB / 463.4 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.593e-05/0.3471, allocations: 15.98 kB / 463.4 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006751/0.3539, allocations: 4.625 MB / 468 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3539, allocations: 0 / 468 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.3567, allocations: 1.362 MB / 469.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.3571, allocations: 143.3 kB / 469.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.3572, allocations: 16 kB / 469.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/0.3577, allocations: 47.91 kB / 469.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.3578, allocations: 64.86 kB / 469.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/0.3579, allocations: 35.98 kB / 469.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004127/0.3583, allocations: 310.9 kB / 470 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3583, allocations: 0 / 470 MB, free: 14.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001082/0.3594, allocations: 311.3 kB / 470.3 MB, free: 14.29 MB / 382.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_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.0002812/0.3597, allocations: 160.2 kB / 470.4 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.3618, allocations: 1.057 MB / 471.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3618, allocations: 0 / 471.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.3631, allocations: 0.7005 MB / 472.2 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.3637, allocations: 126.3 kB / 472.3 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/0.3668, allocations: 1.672 MB / 474 MB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/0.3675, allocations: 0.9904 MB / 475 MB, free: 9.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003084/0.3678, allocations: 81.33 kB / 475.1 MB, free: 9.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.3679, allocations: 55.42 kB / 475.1 MB, free: 9.336 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3679, allocations: 0 / 475.1 MB, free: 9.336 MB / 382.1 MB Notification: Performance of Templates: time 0.02356/0.3915, allocations: 13.24 MB / 488.4 MB, free: 12.22 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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.053578354418278]