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.00132/0.00132, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001421/0.001421, allocations: 189.2 kB / 24.47 MB, free: 4.168 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.441/1.441, allocations: 225.6 MB / 253.3 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.001535/0.001535, allocations: 47.92 kB / 371.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2431, allocations: 52.19 MB / 423.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008139/0.2512, allocations: 6.29 MB / 430.2 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004342/0.2556, allocations: 2.149 MB / 432.3 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005251/0.2561, allocations: 19.94 kB / 432.4 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.2581, allocations: 0.7567 MB / 433.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.2599, allocations: 0.7689 MB / 433.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.261, allocations: 0.491 MB / 434.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.2624, allocations: 1.176 MB / 435.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.2635, allocations: 0.7664 MB / 436.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007098/0.2642, allocations: 478.3 kB / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008199/0.2651, allocations: 0.5329 MB / 437.3 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.2652, allocations: 112 kB / 437.4 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006579/0.2659, allocations: 267.8 kB / 437.7 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002554/0.2661, allocations: 251.1 kB / 437.9 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005465/0.2667, allocations: 0.5404 MB / 438.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.2684, allocations: 1.451 MB / 439.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2684, allocations: 0 / 439.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2684, allocations: 0 / 439.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.2684, allocations: 0 / 439.9 MB, free: 14.52 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.003257/0.2717, allocations: 1.647 MB / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2717, allocations: 8.031 kB / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.2738, allocations: 379.9 kB / 441.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009101/0.2747, allocations: 0.5056 MB / 442.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.667e-05/0.2748, allocations: 74.38 kB / 442.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.275, allocations: 100.3 kB / 442.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.2768, allocations: 1.024 MB / 443.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.2768, allocations: 4 kB / 443.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-05/0.2769, allocations: 40 kB / 443.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.2769, allocations: 24 kB / 443.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.2786, allocations: 0.8472 MB / 444.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005443/0.284, allocations: 3.345 MB / 447.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.286, allocations: 0.8543 MB / 448.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009001/0.2869, allocations: 399.5 kB / 449.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.287, allocations: 20.62 kB / 449.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000916/0.2879, allocations: 492.9 kB / 449.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.966e-06/0.2879, allocations: 0 / 449.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.004526/0.2924, allocations: 1.481 MB / 451.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.2926, allocations: 200.8 kB / 451.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006607/0.2932, allocations: 453.9 kB / 451.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.053e-05/0.2933, allocations: 41.7 kB / 451.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.2937, allocations: 432.6 kB / 452.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.294, allocations: 281.6 kB / 452.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.2942, allocations: 154.6 kB / 452.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.2944, allocations: 382.7 kB / 453 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006082/0.295, allocations: 265.9 kB / 453.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007594/0.2958, allocations: 483.2 kB / 453.8 MB, free: 220 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.2971, allocations: 0.7395 MB / 454.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2971, allocations: 0 / 454.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002199/0.2993, allocations: 1.018 MB / 455.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2994, allocations: 12.03 kB / 455.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.2994, allocations: 4 kB / 455.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000942/0.3003, allocations: 276.7 kB / 455.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/0.3009, allocations: 151.7 kB / 456 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006223/0.3072, allocations: 4.639 MB / 460.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006468/0.3078, allocations: 103.4 kB / 460.7 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.463e-05/0.3079, allocations: 31.98 kB / 460.7 MB, free: 8.945 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.00044/0.3083, allocations: 261.5 kB / 461 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.3085, allocations: 67.58 kB / 461 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/0.3106, allocations: 0.9436 MB / 462 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.3106, allocations: 19.92 kB / 462 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3106, allocations: 0 / 462 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.3106, allocations: 3.984 kB / 462 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/0.3141, allocations: 1.869 MB / 463.9 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3141, allocations: 0 / 463.9 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004816/0.3146, allocations: 107.9 kB / 464 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008197/0.3155, allocations: 257.5 kB / 464.2 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/0.3155, allocations: 19.98 kB / 464.3 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005846/0.3214, allocations: 4.611 MB / 468.9 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3214, allocations: 0 / 468.9 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/0.3241, allocations: 1.366 MB / 470.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/0.3245, allocations: 143.2 kB / 470.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.3246, allocations: 16 kB / 470.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/0.3251, allocations: 43.97 kB / 470.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.3252, allocations: 72.86 kB / 470.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/0.3253, allocations: 20 kB / 470.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004187/0.3257, allocations: 318.9 kB / 470.8 MB, free: 14.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3257, allocations: 0 / 470.8 MB, free: 14.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001133/0.3268, allocations: 311.3 kB / 471.1 MB, free: 14.19 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.0002952/0.3271, allocations: 160.5 kB / 471.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002172/0.3293, allocations: 1.05 MB / 472.3 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3293, allocations: 4.125 kB / 472.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.3306, allocations: 0.7197 MB / 473.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006632/0.3313, allocations: 121.9 kB / 473.2 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/0.3347, allocations: 1.706 MB / 474.9 MB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000748/0.3354, allocations: 0.9942 MB / 475.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.3356, allocations: 59.42 kB / 476 MB, free: 9.25 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3356, allocations: 3.938 kB / 476 MB, free: 9.246 MB / 382.1 MB Notification: Performance of Templates: time 0.025/0.3606, allocations: 17.33 MB / 493.3 MB, free: 7.949 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.552148194983602]