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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=20000,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=20000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2372, allocations: 50.54 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.006793/0.2441, allocations: 6.283 MB / 415.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003468/0.2476, allocations: 2.231 MB / 417.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003332/0.2479, allocations: 16 kB / 417.8 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.2495, allocations: 0.7533 MB / 418.5 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.2507, allocations: 0.6055 MB / 419.1 MB, free: 7.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009131/0.2517, allocations: 0.526 MB / 419.7 MB, free: 7.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.2528, allocations: 1.195 MB / 420.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.2538, allocations: 0.8328 MB / 421.7 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004848/0.2543, allocations: 466.3 kB / 422.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005642/0.2549, allocations: 0.5445 MB / 422.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.255, allocations: 112 kB / 422.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004977/0.2555, allocations: 283.8 kB / 423.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.2557, allocations: 259.1 kB / 423.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000434/0.2562, allocations: 0.5442 MB / 423.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.2576, allocations: 1.487 MB / 425.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2576, allocations: 0 / 425.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2576, allocations: 0 / 425.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.2576, allocations: 0 / 425.4 MB, free: 1.383 MB / 334.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.002802/0.2604, allocations: 1.444 MB / 426.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2605, allocations: 15.97 kB / 426.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002539/0.263, allocations: 403.2 kB / 427.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008571/0.2639, allocations: 0.581 MB / 427.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/0.264, allocations: 74.38 kB / 427.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.2641, allocations: 104.4 kB / 428 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.2659, allocations: 1.02 MB / 429 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.2659, allocations: 4 kB / 429 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.064e-05/0.266, allocations: 40 kB / 429 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.266, allocations: 28 kB / 429.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.2676, allocations: 0.8472 MB / 429.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004803/0.2724, allocations: 3.598 MB / 433.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.2746, allocations: 1.896 MB / 435.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000899/0.2756, allocations: 471.3 kB / 435.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.2757, allocations: 178.8 kB / 436 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000789/0.2765, allocations: 0.4891 MB / 436.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.254e-06/0.2765, allocations: 0 / 436.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.004325/0.2808, allocations: 1.682 MB / 438.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.903e-05/0.281, allocations: 188.9 kB / 438.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.2815, allocations: 478.1 kB / 438.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/0.2816, allocations: 41.7 kB / 438.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.2819, allocations: 427.5 kB / 439.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.2821, allocations: 272.1 kB / 439.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.2823, allocations: 158.5 kB / 439.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2825, allocations: 374.8 kB / 440.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/0.283, allocations: 273.9 kB / 440.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007294/0.2838, allocations: 487.2 kB / 440.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.285, allocations: 0.7512 MB / 441.6 MB, free: 228 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.2851, allocations: 0 / 441.6 MB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001954/0.287, allocations: 1.029 MB / 442.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.287, allocations: 11.94 kB / 442.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.2871, allocations: 4 kB / 442.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008605/0.2879, allocations: 277 kB / 442.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005429/0.2885, allocations: 143.7 kB / 443.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005083/0.2936, allocations: 4.855 MB / 447.9 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.2942, allocations: 99.19 kB / 448 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.304e-05/0.2942, allocations: 35.98 kB / 448 MB, free: 9.488 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.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.000355/0.2946, allocations: 249.7 kB / 448.3 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.2947, allocations: 71.16 kB / 448.4 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.2966, allocations: 0.9749 MB / 449.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.2967, allocations: 12 kB / 449.3 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.2967, allocations: 0 / 449.3 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.2967, allocations: 3.984 kB / 449.3 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/0.2996, allocations: 1.905 MB / 451.3 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2996, allocations: 0 / 451.3 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000429/0.3001, allocations: 99.88 kB / 451.4 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007347/0.3008, allocations: 269.4 kB / 451.6 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.3009, allocations: 16 kB / 451.6 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00486/0.3057, allocations: 4.818 MB / 456.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3057, allocations: 3.938 kB / 456.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.3081, allocations: 1.373 MB / 457.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.3083, allocations: 216 kB / 458 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-05/0.3084, allocations: 24 kB / 458.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/0.3089, allocations: 43.95 kB / 458.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.3091, allocations: 64.91 kB / 458.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.3091, allocations: 27.94 kB / 458.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003366/0.3095, allocations: 338.8 kB / 458.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3095, allocations: 0 / 458.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009586/0.3104, allocations: 303.1 kB / 458.8 MB, free: 14.29 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.0002569/0.3107, allocations: 167.1 kB / 459 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001795/0.3125, allocations: 1.088 MB / 460.1 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3125, allocations: 448 / 460.1 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.3136, allocations: 0.7314 MB / 460.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.3143, allocations: 130.4 kB / 460.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.3168, allocations: 1.643 MB / 462.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.3174, allocations: 1.006 MB / 463.6 MB, free: 9.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003009/0.3177, allocations: 85.47 kB / 463.7 MB, free: 9.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.3178, allocations: 55.42 kB / 463.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3179, allocations: 0 / 463.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of Templates: time 0.02028/0.3381, allocations: 12.71 MB / 476.4 MB, free: 12.68 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches