Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001496/0.001496, allocations: 109.1 kB / 21.18 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001707/0.001707, allocations: 217.3 kB / 24.49 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 63.89 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2249, allocations: 53.41 MB / 432.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.00815/0.233, allocations: 6.351 MB / 438.8 MB, free: 432 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004506/0.2375, allocations: 2.248 MB / 441 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005544/0.2381, allocations: 27.88 kB / 441.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.2401, allocations: 0.7578 MB / 441.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.2418, allocations: 0.6129 MB / 442.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.243, allocations: 0.5378 MB / 443 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.2444, allocations: 1.195 MB / 444.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.2456, allocations: 0.7842 MB / 445 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006495/0.2463, allocations: 478.3 kB / 445.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007267/0.247, allocations: 0.5445 MB / 446 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.2471, allocations: 116 kB / 446.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006001/0.2477, allocations: 283.8 kB / 446.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.248, allocations: 255 kB / 446.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005296/0.2485, allocations: 0.5442 MB / 447.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.2504, allocations: 1.49 MB / 448.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.2504, allocations: 0 / 448.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2504, allocations: 3.938 kB / 448.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.2504, allocations: 0 / 448.7 MB, free: 6.508 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.003598/0.254, allocations: 1.674 MB / 450.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2541, allocations: 8.031 kB / 450.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002496/0.2566, allocations: 391.9 kB / 450.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.2576, allocations: 0.5211 MB / 451.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.04e-05/0.2576, allocations: 74.38 kB / 451.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.2578, allocations: 100.4 kB / 451.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.2597, allocations: 1.024 MB / 452.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.2597, allocations: 7.953 kB / 452.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.2598, allocations: 40 kB / 452.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.2598, allocations: 24 kB / 452.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.2616, allocations: 0.8511 MB / 453.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005667/0.2673, allocations: 3.361 MB / 456.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.2693, allocations: 0.8584 MB / 457.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008829/0.2701, allocations: 406.7 kB / 458 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.2702, allocations: 20.64 kB / 458 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009406/0.2712, allocations: 0.493 MB / 458.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.464e-06/0.2712, allocations: 0 / 458.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004631/0.2758, allocations: 1.481 MB / 460 MB, free: 10.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.276, allocations: 201 kB / 460.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006637/0.2766, allocations: 478 kB / 460.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/0.2767, allocations: 45.7 kB / 460.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.2771, allocations: 424.7 kB / 461.1 MB, free: 9.719 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/0.2773, allocations: 293.5 kB / 461.4 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.2776, allocations: 154.6 kB / 461.5 MB, free: 9.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.2778, allocations: 374.7 kB / 461.9 MB, free: 8.898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/0.2783, allocations: 269.9 kB / 462.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007751/0.2791, allocations: 491.2 kB / 462.6 MB, free: 8.066 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.2804, allocations: 0.7435 MB / 463.4 MB, free: 7.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.2804, allocations: 0 / 463.4 MB, free: 7.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002182/0.2826, allocations: 1.022 MB / 464.4 MB, free: 6.215 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.2826, allocations: 4 kB / 464.4 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.2827, allocations: 11.98 kB / 464.4 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009347/0.2836, allocations: 268.9 kB / 464.7 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.2842, allocations: 147.7 kB / 464.8 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006043/0.2902, allocations: 4.652 MB / 469.5 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007637/0.291, allocations: 99.5 kB / 469.6 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/0.291, allocations: 39.98 kB / 469.6 MB, free: 0.7812 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.0004888/0.2915, allocations: 246.4 kB / 469.8 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.2917, allocations: 71.58 kB / 469.9 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.2938, allocations: 0.9554 MB / 470.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.2938, allocations: 11.94 kB / 470.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.2938, allocations: 4.047 kB / 470.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.2939, allocations: 7.984 kB / 470.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003487/0.2973, allocations: 1.877 MB / 472.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.2974, allocations: 0 / 472.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/0.2978, allocations: 95.83 kB / 472.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008127/0.2986, allocations: 257.5 kB / 473.1 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.268e-05/0.2987, allocations: 16.19 kB / 473.1 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005899/0.3046, allocations: 4.612 MB / 477.7 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3046, allocations: 4.031 kB / 477.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/0.3074, allocations: 1.37 MB / 479.1 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.3078, allocations: 139.3 kB / 479.3 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.3079, allocations: 20 kB / 479.3 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/0.3083, allocations: 43.97 kB / 479.3 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.3085, allocations: 72.86 kB / 479.4 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.764e-05/0.3086, allocations: 27.92 kB / 479.4 MB, free: 6.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000525/0.3091, allocations: 326.9 kB / 479.7 MB, free: 6.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3091, allocations: 0 / 479.7 MB, free: 6.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001109/0.3102, allocations: 311.3 kB / 480 MB, free: 6.004 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.0003028/0.3105, allocations: 171 kB / 480.2 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002258/0.3128, allocations: 1.06 MB / 481.3 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3128, allocations: 0 / 481.3 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.314, allocations: 0.717 MB / 482 MB, free: 3.996 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007001/0.3147, allocations: 125.1 kB / 482.1 MB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.3182, allocations: 1.718 MB / 483.8 MB, free: 2.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008248/0.319, allocations: 0.9982 MB / 484.8 MB, free: 1.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.3193, allocations: 59.42 kB / 484.9 MB, free: 1.035 MB / 382.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3193, allocations: 0 / 484.9 MB, free: 1.035 MB / 382.1 MB Notification: Performance of Templates: time 0.02531/0.3446, allocations: 17.87 MB / 0.491 GB, free: 15.19 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.900211486034095]