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.001642/0.001642, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.001971/0.001971, allocations: 209.7 kB / 22.99 MB, free: 5.609 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.2 MB / 256.2 MB, free: 8.559 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.001925/0.001925, allocations: 71.83 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.258, allocations: 53.32 MB / 429.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007819/0.2658, allocations: 6.339 MB / 436.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004227/0.27, allocations: 2.26 MB / 438.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004225/0.2705, allocations: 16 kB / 438.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.2723, allocations: 0.7578 MB / 439.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.2738, allocations: 0.6055 MB / 439.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.2748, allocations: 0.5377 MB / 440.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.2762, allocations: 1.199 MB / 441.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.2773, allocations: 0.675 MB / 442.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006638/0.2779, allocations: 478.3 kB / 442.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000697/0.2786, allocations: 0.5367 MB / 443.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.2788, allocations: 112 kB / 443.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006754/0.2794, allocations: 279.8 kB / 443.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.2797, allocations: 263 kB / 443.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005457/0.2802, allocations: 0.5442 MB / 444.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.2822, allocations: 1.494 MB / 445.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2822, allocations: 0 / 445.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2822, allocations: 0 / 445.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.2822, allocations: 0 / 445.9 MB, free: 7.402 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.003213/0.2854, allocations: 1.473 MB / 447.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.2855, allocations: 12.03 kB / 447.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/0.2879, allocations: 395.9 kB / 447.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009564/0.2889, allocations: 0.5854 MB / 448.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.941e-05/0.2889, allocations: 74.38 kB / 448.4 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.2891, allocations: 100.4 kB / 448.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.291, allocations: 1.028 MB / 449.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.291, allocations: 3.953 kB / 449.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.597e-05/0.2911, allocations: 40 kB / 449.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.2911, allocations: 24 kB / 449.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.2929, allocations: 0.8589 MB / 450.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005307/0.2982, allocations: 3.61 MB / 454.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/0.3006, allocations: 1.825 MB / 455.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009218/0.3015, allocations: 419.5 kB / 456.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.3017, allocations: 186.8 kB / 456.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000899/0.3026, allocations: 0.4891 MB / 457 MB, free: 11.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.595e-06/0.3026, allocations: 0 / 457 MB, free: 11.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.00462/0.3072, allocations: 1.663 MB / 458.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.3073, allocations: 196.9 kB / 458.8 MB, free: 9.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005782/0.3079, allocations: 474.1 kB / 459.3 MB, free: 9.262 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.308, allocations: 41.7 kB / 459.3 MB, free: 9.215 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.3083, allocations: 440.7 kB / 459.8 MB, free: 8.777 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.3086, allocations: 285.5 kB / 460 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.3088, allocations: 166.5 kB / 460.2 MB, free: 8.324 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.309, allocations: 378.7 kB / 460.6 MB, free: 7.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.3096, allocations: 261.9 kB / 460.8 MB, free: 7.691 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007433/0.3103, allocations: 491.2 kB / 461.3 MB, free: 7.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.3116, allocations: 0.7434 MB / 462 MB, free: 6.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3116, allocations: 0 / 462 MB, free: 6.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002114/0.3137, allocations: 1.026 MB / 463.1 MB, free: 5.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3137, allocations: 7.938 kB / 463.1 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.3137, allocations: 8 kB / 463.1 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008913/0.3146, allocations: 261.5 kB / 463.3 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.3152, allocations: 151.8 kB / 463.5 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005902/0.3211, allocations: 4.868 MB / 468.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006295/0.3217, allocations: 103.4 kB / 468.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.3218, allocations: 32.19 kB / 468.5 MB, free: 15.58 MB / 382.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.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.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.0003964/0.3222, allocations: 250.5 kB / 468.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.3223, allocations: 75.52 kB / 468.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.3244, allocations: 0.9633 MB / 469.8 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.3244, allocations: 8 kB / 469.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.3244, allocations: 0 / 469.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.3244, allocations: 7.969 kB / 469.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/0.3276, allocations: 1.898 MB / 471.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3276, allocations: 0 / 471.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.3281, allocations: 95.88 kB / 471.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007923/0.3289, allocations: 261.4 kB / 472 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.3289, allocations: 20 kB / 472.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005541/0.3344, allocations: 4.82 MB / 476.9 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.3344, allocations: 7.969 kB / 476.9 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.3371, allocations: 1.358 MB / 478.2 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.3374, allocations: 228.4 kB / 478.5 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.53e-05/0.3375, allocations: 16 kB / 478.5 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.3379, allocations: 39.97 kB / 478.5 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.3381, allocations: 68.91 kB / 478.6 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.513e-05/0.3381, allocations: 27.92 kB / 478.6 MB, free: 5.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004031/0.3385, allocations: 330.9 kB / 478.9 MB, free: 4.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3385, allocations: 4.125 kB / 478.9 MB, free: 4.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001033/0.3396, allocations: 315.3 kB / 479.3 MB, free: 4.402 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,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.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.0002932/0.3399, allocations: 171 kB / 479.4 MB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.3418, allocations: 1.042 MB / 480.5 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3418, allocations: 4.312 kB / 480.5 MB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.343, allocations: 0.7001 MB / 481.2 MB, free: 2.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.3437, allocations: 134.4 kB / 481.3 MB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.3466, allocations: 1.664 MB / 483 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006905/0.3473, allocations: 0.9981 MB / 484 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.3476, allocations: 85.48 kB / 484 MB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.3478, allocations: 55.42 kB / 484.1 MB, free: 15.43 MB / 398.1 MB Notification: Performance of SimCode: time 1.282e-06/0.3478, allocations: 0 / 484.1 MB, free: 15.43 MB / 398.1 MB Notification: Performance of Templates: time 0.02348/0.3713, allocations: 13.19 MB / 497.3 MB, free: 2.359 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.083963776007295]