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.001366/0.001366, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001466/0.001466, allocations: 186 kB / 24.46 MB, free: 3.863 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.419/1.419, allocations: 225.7 MB / 253.3 MB, free: 12.83 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.001726/0.001726, allocations: 47.92 kB / 371.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2244, allocations: 52.17 MB / 423.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007929/0.2323, allocations: 5.562 MB / 429.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004121/0.2364, allocations: 2.016 MB / 431.4 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005145/0.2369, allocations: 23.88 kB / 431.4 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.2388, allocations: 0.7072 MB / 432.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.2405, allocations: 0.7295 MB / 432.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009987/0.2415, allocations: 498.7 kB / 433.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.2428, allocations: 1.168 MB / 434.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.2439, allocations: 0.7416 MB / 435.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005558/0.2444, allocations: 474.2 kB / 435.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006548/0.2451, allocations: 481.7 kB / 436.2 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.2452, allocations: 112 kB / 436.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000539/0.2458, allocations: 259.8 kB / 436.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.246, allocations: 243.1 kB / 436.8 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004563/0.2464, allocations: 461.9 kB / 437.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.2481, allocations: 1.459 MB / 438.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2481, allocations: 3.938 kB / 438.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2481, allocations: 0 / 438.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.2481, allocations: 0 / 438.7 MB, free: 15.48 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.003282/0.2514, allocations: 1.639 MB / 440.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2515, allocations: 11.97 kB / 440.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.2536, allocations: 383.9 kB / 440.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009439/0.2545, allocations: 0.4978 MB / 441.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/0.2546, allocations: 74.38 kB / 441.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.2547, allocations: 100.4 kB / 441.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.2566, allocations: 1.124 MB / 442.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.2566, allocations: 0 / 442.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.249e-05/0.2567, allocations: 43.98 kB / 442.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.2567, allocations: 24 kB / 442.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.2584, allocations: 0.8393 MB / 443.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004908/0.2633, allocations: 2.952 MB / 446.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.2652, allocations: 0.8426 MB / 447.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008542/0.266, allocations: 395.5 kB / 447.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-05/0.2661, allocations: 16.64 kB / 447.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009367/0.2671, allocations: 0.5895 MB / 448.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 4.689e-06/0.2671, allocations: 3.984 kB / 448.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.004392/0.2715, allocations: 1.481 MB / 449.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.2716, allocations: 192.9 kB / 449.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.2721, allocations: 441.7 kB / 450.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.2722, allocations: 45.7 kB / 450.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.2725, allocations: 420.7 kB / 450.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.2728, allocations: 285.5 kB / 451.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.273, allocations: 154.6 kB / 451.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.2732, allocations: 378.7 kB / 451.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005697/0.2738, allocations: 265.9 kB / 451.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008034/0.2746, allocations: 0.5762 MB / 452.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.2759, allocations: 0.7356 MB / 453.1 MB, free: 464 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2759, allocations: 4 kB / 453.1 MB, free: 460 kB / 350.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002061/0.2779, allocations: 1.006 MB / 454.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.278, allocations: 4 kB / 454.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.278, allocations: 11.98 kB / 454.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008719/0.2788, allocations: 267.3 kB / 454.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.2794, allocations: 147.7 kB / 454.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005819/0.2852, allocations: 4.554 MB / 459.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006285/0.2858, allocations: 99.38 kB / 459.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.2859, allocations: 36.06 kB / 459.3 MB, free: 10.13 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.0004191/0.2863, allocations: 245.5 kB / 459.5 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.2864, allocations: 67.58 kB / 459.6 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/0.2885, allocations: 0.9628 MB / 460.5 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.2885, allocations: 8 kB / 460.5 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2885, allocations: 0 / 460.5 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.2885, allocations: 7.922 kB / 460.5 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.2916, allocations: 1.64 MB / 462.2 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.2916, allocations: 4 kB / 462.2 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.292, allocations: 95.88 kB / 462.3 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007919/0.2928, allocations: 269.6 kB / 462.5 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.2928, allocations: 12 kB / 462.6 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005562/0.2984, allocations: 4.505 MB / 467.1 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2984, allocations: 0 / 467.1 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.3011, allocations: 1.377 MB / 468.4 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.3014, allocations: 131.3 kB / 468.6 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-05/0.3015, allocations: 24 kB / 468.6 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.3019, allocations: 39.97 kB / 468.6 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.3021, allocations: 72.86 kB / 468.7 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/0.3022, allocations: 27.92 kB / 468.7 MB, free: 356 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003588/0.3025, allocations: 295.1 kB / 469 MB, free: 60 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3025, allocations: 0 / 469 MB, free: 60 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001072/0.3036, allocations: 307.4 kB / 469.3 MB, free: 15.75 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.0002989/0.3039, allocations: 155.6 kB / 469.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002068/0.306, allocations: 1.048 MB / 470.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.306, allocations: 0 / 470.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.3072, allocations: 0.7248 MB / 471.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006003/0.3078, allocations: 114.3 kB / 471.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.3109, allocations: 1.697 MB / 473.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.3113, allocations: 399.8 kB / 473.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.3115, allocations: 63.41 kB / 473.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3115, allocations: 3.938 kB / 473.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of Templates: time 0.0227/0.3342, allocations: 17.45 MB / 491 MB, free: 10.02 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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: 8.455999325029552]