Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001264, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.422/1.422, allocations: 227.7 MB / 247.9 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 67.88 kB / 359.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2187, allocations: 50.54 MB / 410.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007726/0.2264, allocations: 6.296 MB / 416.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003708/0.2302, allocations: 2.242 MB / 418.7 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.2305, allocations: 19.94 kB / 418.8 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.2322, allocations: 0.7461 MB / 419.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.2335, allocations: 0.6166 MB / 420.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009823/0.2345, allocations: 0.526 MB / 420.7 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.2358, allocations: 1.187 MB / 421.8 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009925/0.2367, allocations: 0.6715 MB / 422.5 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005505/0.2373, allocations: 478.2 kB / 423 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006371/0.2379, allocations: 0.5406 MB / 423.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.2381, allocations: 112 kB / 423.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004966/0.2386, allocations: 283.8 kB / 423.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.2388, allocations: 263 kB / 424.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005338/0.2394, allocations: 0.5442 MB / 424.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.2411, allocations: 1.486 MB / 426.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2411, allocations: 0 / 426.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.2411, allocations: 3.984 kB / 426.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.2411, allocations: 0 / 426.2 MB, free: 1.309 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.003148/0.2443, allocations: 1.473 MB / 427.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2443, allocations: 12.03 kB / 427.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002636/0.2469, allocations: 407.9 kB / 428.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.248, allocations: 0.5893 MB / 428.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.256e-05/0.248, allocations: 78.38 kB / 428.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.2482, allocations: 100.4 kB / 428.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.2502, allocations: 1.016 MB / 429.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.2502, allocations: 7.953 kB / 429.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.891e-05/0.2503, allocations: 40 kB / 429.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.2503, allocations: 24 kB / 429.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.2521, allocations: 0.8511 MB / 430.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00552/0.2576, allocations: 3.61 MB / 434.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.2601, allocations: 1.826 MB / 436.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009339/0.261, allocations: 423.9 kB / 436.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.2612, allocations: 174.9 kB / 436.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009018/0.2621, allocations: 0.4891 MB / 437.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.675e-06/0.2621, allocations: 0 / 437.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.004771/0.2668, allocations: 1.678 MB / 439 MB, free: 3.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.267, allocations: 192.9 kB / 439.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006191/0.2676, allocations: 482.1 kB / 439.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.407e-05/0.2677, allocations: 49.69 kB / 439.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.268, allocations: 420.7 kB / 440.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.2683, allocations: 289.5 kB / 440.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/0.2685, allocations: 154.6 kB / 440.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.2687, allocations: 374.8 kB / 440.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005926/0.2693, allocations: 269.9 kB / 441.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007941/0.2701, allocations: 491.2 kB / 441.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.2714, allocations: 0.7435 MB / 442.4 MB, free: 216 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.2714, allocations: 4 kB / 442.4 MB, free: 212 kB / 350.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002106/0.2735, allocations: 1.018 MB / 443.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.2736, allocations: 11.94 kB / 443.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.2736, allocations: 4 kB / 443.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008937/0.2745, allocations: 269.5 kB / 443.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.2751, allocations: 143.8 kB / 443.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00598/0.281, allocations: 4.876 MB / 448.7 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/0.2816, allocations: 103.4 kB / 448.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.2817, allocations: 35.98 kB / 448.8 MB, free: 9.473 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.0004058/0.2821, allocations: 250.3 kB / 449.1 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.2822, allocations: 67.58 kB / 449.1 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.2844, allocations: 0.9633 MB / 450.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.2844, allocations: 8 kB / 450.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2844, allocations: 4 kB / 450.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.2844, allocations: 3.984 kB / 450.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.2877, allocations: 1.902 MB / 452 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2877, allocations: 0 / 452 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.2882, allocations: 95.88 kB / 452.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007907/0.289, allocations: 265.4 kB / 452.4 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.289, allocations: 20 kB / 452.4 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005729/0.2948, allocations: 4.808 MB / 457.2 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.2948, allocations: 4.125 kB / 457.2 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.2974, allocations: 1.366 MB / 458.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/0.2976, allocations: 224.3 kB / 458.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.068e-05/0.2977, allocations: 16 kB / 458.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.2982, allocations: 47.95 kB / 458.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.2984, allocations: 64.91 kB / 458.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.172e-05/0.2984, allocations: 27.94 kB / 458.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003892/0.2988, allocations: 330.9 kB / 459.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2988, allocations: 0 / 459.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001003/0.2998, allocations: 307.3 kB / 459.6 MB, free: 14.31 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.0002767/0.3001, allocations: 183 kB / 459.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.302, allocations: 1.041 MB / 460.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.302, allocations: 0 / 460.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.3032, allocations: 0.7055 MB / 461.5 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006399/0.3039, allocations: 126.1 kB / 461.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.3068, allocations: 1.672 MB / 463.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/0.3074, allocations: 0.9982 MB / 464.3 MB, free: 9.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003045/0.3077, allocations: 89.47 kB / 464.4 MB, free: 9.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.3079, allocations: 51.42 kB / 464.4 MB, free: 9.332 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3079, allocations: 0 / 464.4 MB, free: 9.332 MB / 382.1 MB Notification: Performance of Templates: time 0.02291/0.3308, allocations: 12.81 MB / 477.2 MB, free: 12.66 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches