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.00135/0.00135, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001485/0.001485, allocations: 207.5 kB / 23.73 MB, free: 4.391 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.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.002821/0.002821, allocations: 59.91 kB / 378.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2523, allocations: 53.4 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008207/0.2605, allocations: 5.6 MB / 437.2 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005067/0.2655, allocations: 2.125 MB / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004863/0.266, allocations: 23.94 kB / 439.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002126/0.2681, allocations: 0.7072 MB / 440.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.2697, allocations: 0.5894 MB / 440.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.2708, allocations: 0.5183 MB / 441.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.2721, allocations: 1.199 MB / 442.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.2734, allocations: 0.7626 MB / 443.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007089/0.2741, allocations: 486.2 kB / 443.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007379/0.2748, allocations: 485.6 kB / 444.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.275, allocations: 108 kB / 444.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005736/0.2756, allocations: 279.7 kB / 444.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.2758, allocations: 247.1 kB / 444.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004481/0.2762, allocations: 457.8 kB / 445.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.2779, allocations: 1.494 MB / 446.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.2779, allocations: 0 / 446.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2779, allocations: 4 kB / 446.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.2779, allocations: 0 / 446.7 MB, free: 7.398 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.003455/0.2814, allocations: 1.666 MB / 448.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.2814, allocations: 19.97 kB / 448.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002504/0.2839, allocations: 391.9 kB / 448.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.285, allocations: 0.5211 MB / 449.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.476e-05/0.285, allocations: 74.38 kB / 449.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.2852, allocations: 108.3 kB / 449.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.2872, allocations: 1.112 MB / 450.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/0.2872, allocations: 11.94 kB / 450.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-05/0.2873, allocations: 44 kB / 450.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.2874, allocations: 24 kB / 450.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.2891, allocations: 0.851 MB / 451.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005276/0.2944, allocations: 2.956 MB / 454.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.2964, allocations: 0.8467 MB / 455.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009107/0.2973, allocations: 408.2 kB / 455.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.2974, allocations: 20.64 kB / 455.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.2984, allocations: 0.5972 MB / 456.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.545e-06/0.2984, allocations: 3.938 kB / 456.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004652/0.3031, allocations: 1.477 MB / 457.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.3032, allocations: 200.9 kB / 458 MB, free: 11.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/0.3038, allocations: 457.9 kB / 458.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.25e-05/0.3039, allocations: 41.7 kB / 458.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/0.3043, allocations: 432.6 kB / 458.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/0.3046, allocations: 293.5 kB / 459.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.3048, allocations: 158.6 kB / 459.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.3051, allocations: 374.7 kB / 459.7 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005904/0.3057, allocations: 269.9 kB / 460 MB, free: 9.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008767/0.3065, allocations: 0.5801 MB / 460.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.3079, allocations: 0.7356 MB / 461.3 MB, free: 8.199 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.3079, allocations: 4 kB / 461.3 MB, free: 8.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002149/0.31, allocations: 1.014 MB / 462.3 MB, free: 7.168 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3101, allocations: 4 kB / 462.3 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.3101, allocations: 8 kB / 462.3 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009107/0.311, allocations: 273 kB / 462.6 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/0.3116, allocations: 143.7 kB / 462.7 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006605/0.3182, allocations: 4.552 MB / 467.3 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008886/0.319, allocations: 95.44 kB / 467.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.824e-05/0.3191, allocations: 35.98 kB / 467.4 MB, free: 1.875 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.0006428/0.3198, allocations: 242.5 kB / 467.6 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.32, allocations: 75.58 kB / 467.7 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/0.3232, allocations: 0.9475 MB / 468.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.3233, allocations: 12 kB / 468.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3233, allocations: 0 / 468.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/0.3233, allocations: 3.984 kB / 468.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004673/0.3279, allocations: 1.659 MB / 470.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.328, allocations: 0 / 470.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/0.3286, allocations: 95.86 kB / 470.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.3298, allocations: 265.5 kB / 470.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.151e-05/0.3299, allocations: 20 kB / 470.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008414/0.3383, allocations: 4.505 MB / 475.2 MB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3383, allocations: 0 / 475.2 MB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004069/0.3423, allocations: 1.366 MB / 476.6 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00046/0.3428, allocations: 143.3 kB / 476.7 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.3429, allocations: 16 kB / 476.7 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006586/0.3436, allocations: 47.95 kB / 476.8 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/0.3438, allocations: 72.86 kB / 476.8 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-05/0.3439, allocations: 23.94 kB / 476.9 MB, free: 8.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005678/0.3445, allocations: 318.9 kB / 477.2 MB, free: 7.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3445, allocations: 0 / 477.2 MB, free: 7.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001759/0.3462, allocations: 307.3 kB / 477.5 MB, free: 7.484 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.0003664/0.3466, allocations: 163 kB / 477.6 MB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002903/0.3495, allocations: 1.057 MB / 478.7 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3495, allocations: 384 / 478.7 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.3513, allocations: 0.7079 MB / 479.4 MB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009393/0.3522, allocations: 110.4 kB / 479.5 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/0.3565, allocations: 1.68 MB / 481.2 MB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006412/0.3571, allocations: 416.2 kB / 481.6 MB, free: 3.234 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004715/0.3576, allocations: 73.22 kB / 481.7 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.3578, allocations: 51.42 kB / 481.7 MB, free: 3.109 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3578, allocations: 0 / 481.7 MB, free: 3.109 MB / 382.1 MB Notification: Performance of Templates: time 0.03292/0.3907, allocations: 12.68 MB / 494.4 MB, free: 6.594 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/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: 5.183683086186647]