Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 205.1 kB / 24.47 MB, free: 3.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2559, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007863/0.2637, allocations: 5.604 MB / 437.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004463/0.2682, allocations: 2.114 MB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006978/0.2689, allocations: 23.88 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.271, allocations: 0.7111 MB / 440.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.2727, allocations: 0.59 MB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.2739, allocations: 0.5253 MB / 441.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.2754, allocations: 1.183 MB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.2766, allocations: 0.7835 MB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006574/0.2773, allocations: 478.3 kB / 444.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007014/0.278, allocations: 0.5445 MB / 444.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.2781, allocations: 108 kB / 445 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006077/0.2788, allocations: 283.8 kB / 445.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.279, allocations: 251.1 kB / 445.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004969/0.2795, allocations: 457.9 kB / 446 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.2813, allocations: 1.494 MB / 447.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2813, allocations: 0 / 447.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2813, allocations: 0 / 447.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.2813, allocations: 0 / 447.4 MB, free: 7.512 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.003509/0.2848, allocations: 1.67 MB / 449.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.2849, allocations: 12.03 kB / 449.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002563/0.2874, allocations: 395.9 kB / 449.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.2885, allocations: 0.5172 MB / 450 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.182e-05/0.2886, allocations: 78.36 kB / 450.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.2888, allocations: 104.3 kB / 450.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.2908, allocations: 1.12 MB / 451.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/0.2908, allocations: 4 kB / 451.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.693e-05/0.2909, allocations: 40 kB / 451.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.2909, allocations: 24 kB / 451.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.2926, allocations: 0.851 MB / 452.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005196/0.2978, allocations: 2.968 MB / 455.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.2999, allocations: 0.8552 MB / 456.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008848/0.3007, allocations: 405.8 kB / 456.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.3009, allocations: 24.64 kB / 456.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009849/0.3019, allocations: 0.5894 MB / 457.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.786e-06/0.3019, allocations: 0 / 457.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004718/0.3066, allocations: 1.473 MB / 458.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.3067, allocations: 196.9 kB / 458.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006393/0.3073, allocations: 465.9 kB / 459.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.76e-05/0.3074, allocations: 41.7 kB / 459.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.3078, allocations: 436.6 kB / 459.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.308, allocations: 289.5 kB / 460 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/0.3083, allocations: 158.6 kB / 460.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3085, allocations: 370.7 kB / 460.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/0.3091, allocations: 273.9 kB / 460.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008044/0.3099, allocations: 0.5801 MB / 461.3 MB, free: 9.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.3112, allocations: 0.7357 MB / 462.1 MB, free: 8.312 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.3112, allocations: 7.984 kB / 462.1 MB, free: 8.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002215/0.3135, allocations: 1.018 MB / 463.1 MB, free: 7.273 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.3135, allocations: 4 kB / 463.1 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.3135, allocations: 8 kB / 463.1 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009528/0.3145, allocations: 261.5 kB / 463.3 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/0.3151, allocations: 147.7 kB / 463.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005941/0.321, allocations: 4.547 MB / 468 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007473/0.3218, allocations: 95.55 kB / 468.1 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.3218, allocations: 35.94 kB / 468.2 MB, free: 1.988 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.0004713/0.3223, allocations: 249.6 kB / 468.4 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.3224, allocations: 67.58 kB / 468.5 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.3246, allocations: 0.9592 MB / 469.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.3246, allocations: 8 kB / 469.4 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3246, allocations: 64 / 469.4 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.3247, allocations: 7.984 kB / 469.4 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00332/0.328, allocations: 1.652 MB / 471.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.328, allocations: 0 / 471.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004791/0.3285, allocations: 95.88 kB / 471.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000859/0.3293, allocations: 255.4 kB / 471.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.3294, allocations: 23.98 kB / 471.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005777/0.3352, allocations: 4.499 MB / 476 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3352, allocations: 0 / 476 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/0.338, allocations: 1.373 MB / 477.3 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.3383, allocations: 135.3 kB / 477.5 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.3384, allocations: 24 kB / 477.5 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/0.339, allocations: 39.97 kB / 477.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/0.3392, allocations: 76.8 kB / 477.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-05/0.3392, allocations: 28.11 kB / 477.6 MB, free: 8.211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004112/0.3397, allocations: 314.9 kB / 477.9 MB, free: 7.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3397, allocations: 3.938 kB / 477.9 MB, free: 7.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00118/0.3408, allocations: 307.3 kB / 478.2 MB, free: 7.602 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.0003406/0.3412, allocations: 175 kB / 478.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.3435, allocations: 1.052 MB / 479.5 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.3435, allocations: 0 / 479.5 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.3448, allocations: 0.7172 MB / 480.2 MB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006968/0.3455, allocations: 106.2 kB / 480.3 MB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/0.3488, allocations: 1.723 MB / 482 MB, free: 3.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.3493, allocations: 404.3 kB / 482.4 MB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.3495, allocations: 63.42 kB / 482.5 MB, free: 3.242 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3495, allocations: 0 / 482.5 MB, free: 3.242 MB / 382.1 MB Notification: Performance of Templates: time 0.02586/0.3754, allocations: 17.99 MB / 0.4887 GB, free: 1.273 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.909471488994313]