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.001693/0.001693, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001921/0.001921, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.519/1.519, allocations: 230.3 MB / 258 MB, free: 8.258 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.001875/0.001875, allocations: 59.91 kB / 378.8 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2378, allocations: 53.38 MB / 432.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008629/0.2465, allocations: 6.341 MB / 438.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004542/0.251, allocations: 2.258 MB / 440.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005382/0.2515, allocations: 27.88 kB / 440.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.2535, allocations: 0.7579 MB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.2549, allocations: 0.6055 MB / 442.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.256, allocations: 0.5338 MB / 442.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.2572, allocations: 1.203 MB / 443.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.2583, allocations: 0.6756 MB / 444.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006009/0.2589, allocations: 486.2 kB / 445 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006739/0.2596, allocations: 0.5406 MB / 445.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.2597, allocations: 112 kB / 445.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006168/0.2603, allocations: 287.8 kB / 445.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.2606, allocations: 247.1 kB / 446.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005445/0.2611, allocations: 0.5481 MB / 446.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.2629, allocations: 1.494 MB / 448.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2629, allocations: 0 / 448.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2629, allocations: 0 / 448.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.2629, allocations: 4 kB / 448.2 MB, free: 6.902 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.0035/0.2664, allocations: 1.666 MB / 449.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.2665, allocations: 12.03 kB / 449.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/0.269, allocations: 387.9 kB / 450.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.2701, allocations: 0.525 MB / 450.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.896e-05/0.2702, allocations: 74.38 kB / 450.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.2703, allocations: 100.4 kB / 451 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.2723, allocations: 1.024 MB / 452 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.2723, allocations: 7.938 kB / 452 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.2724, allocations: 44 kB / 452.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.2724, allocations: 24 kB / 452.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.2742, allocations: 0.8588 MB / 452.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0054/0.2796, allocations: 3.345 MB / 456.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.2816, allocations: 0.8592 MB / 457.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009323/0.2826, allocations: 399.5 kB / 457.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.2827, allocations: 32.62 kB / 457.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009293/0.2836, allocations: 492.8 kB / 458 MB, free: 12.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.254e-06/0.2836, allocations: 0 / 458 MB, free: 12.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004731/0.2883, allocations: 1.485 MB / 459.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.2885, allocations: 196.9 kB / 459.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005767/0.289, allocations: 474 kB / 460.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/0.2891, allocations: 49.7 kB / 460.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.2894, allocations: 424.7 kB / 460.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.2897, allocations: 293.5 kB / 460.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.2899, allocations: 158.6 kB / 461.1 MB, free: 9.676 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.2901, allocations: 382.7 kB / 461.5 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006007/0.2907, allocations: 261.9 kB / 461.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007891/0.2915, allocations: 491.2 kB / 462.2 MB, free: 8.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.2929, allocations: 0.7474 MB / 462.9 MB, free: 7.648 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.2929, allocations: 4 kB / 463 MB, free: 7.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002193/0.2951, allocations: 1.022 MB / 464 MB, free: 6.609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.2951, allocations: 10.19 kB / 464 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.2951, allocations: 7.938 kB / 464 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009252/0.2961, allocations: 269 kB / 464.3 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/0.2967, allocations: 147.7 kB / 464.4 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006084/0.3027, allocations: 4.649 MB / 469 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006021/0.3033, allocations: 99.38 kB / 469.1 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/0.3034, allocations: 32 kB / 469.2 MB, free: 1.184 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.0003994/0.3038, allocations: 253.6 kB / 469.4 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.3039, allocations: 71.58 kB / 469.5 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.3062, allocations: 0.9476 MB / 470.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.3062, allocations: 15.94 kB / 470.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.3062, allocations: 64 / 470.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.3062, allocations: 8.172 kB / 470.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/0.3098, allocations: 1.873 MB / 472.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.3098, allocations: 11.88 kB / 472.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004697/0.3102, allocations: 95.88 kB / 472.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008746/0.3111, allocations: 252.6 kB / 472.7 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.912e-05/0.3112, allocations: 23.98 kB / 472.7 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006002/0.3172, allocations: 4.61 MB / 477.3 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3172, allocations: 0 / 477.3 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002868/0.3201, allocations: 1.366 MB / 478.7 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.3204, allocations: 151.2 kB / 478.8 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.3206, allocations: 16 kB / 478.9 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/0.321, allocations: 43.95 kB / 478.9 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.3213, allocations: 72.86 kB / 479 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/0.3213, allocations: 24 kB / 479 MB, free: 7.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004257/0.3217, allocations: 330.9 kB / 479.3 MB, free: 6.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3217, allocations: 7.938 kB / 479.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001142/0.3229, allocations: 303.4 kB / 479.6 MB, free: 6.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,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.0003151/0.3232, allocations: 174.5 kB / 479.8 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002322/0.3255, allocations: 1.057 MB / 480.8 MB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.3255, allocations: 8 kB / 480.9 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.3268, allocations: 0.704 MB / 481.6 MB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006737/0.3275, allocations: 122.2 kB / 481.7 MB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.3309, allocations: 1.687 MB / 483.4 MB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007445/0.3317, allocations: 0.9982 MB / 484.4 MB, free: 1.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003349/0.332, allocations: 85.48 kB / 484.4 MB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.3322, allocations: 47.44 kB / 484.5 MB, free: 1.406 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3322, allocations: 0 / 484.5 MB, free: 1.406 MB / 382.1 MB Notification: Performance of Templates: time 0.02467/0.3568, allocations: 13.44 MB / 497.9 MB, free: 4.078 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.203387583605945]