Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001253/0.001253, allocations: 183.8 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.4 MB / 224.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007282/0.0007282, allocations: 89.2 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004807, allocations: 15.98 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2159, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09221/0.3082, allocations: 87.15 MB / 464.2 MB, free: 9.379 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.3085, allocations: 87.94 kB / 464.3 MB, free: 9.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05653/0.365, allocations: 22.48 MB / 486.7 MB, free: 2.617 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.365, allocations: 0 / 486.7 MB, free: 2.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.855e-05/0.3651, allocations: 20 kB / 486.8 MB, free: 2.598 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.002588/0.3677, allocations: 1.209 MB / 488 MB, free: 1.332 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3677, allocations: 8.031 kB / 488 MB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002204/0.3699, allocations: 375.3 kB / 488.3 MB, free: 0.957 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008489/0.3708, allocations: 0.5576 MB / 488.9 MB, free: 364 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/0.3709, allocations: 74.41 kB / 489 MB, free: 288 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.3711, allocations: 100.4 kB / 489.1 MB, free: 188 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.3729, allocations: 1.064 MB / 490.1 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.373, allocations: 11.84 kB / 490.1 MB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.405e-05/0.3731, allocations: 47.98 kB / 490.2 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.3731, allocations: 24 kB / 490.2 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.3749, allocations: 0.9409 MB / 491.2 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005662/0.3806, allocations: 3.782 MB / 494.9 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/0.383, allocations: 2.502 MB / 497.4 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008383/0.3838, allocations: 471.4 kB / 497.9 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.826e-05/0.3839, allocations: 97.69 kB / 498 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008436/0.3848, allocations: 0.5047 MB / 498.5 MB, free: 6.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=86): time 2.965e-06/0.3848, allocations: 0 / 498.5 MB, free: 6.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=86): time 0.004259/0.3891, allocations: 1.717 MB / 0.4885 GB, free: 4.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/0.3892, allocations: 204.9 kB / 0.4887 GB, free: 4.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.3898, allocations: 469.9 kB / 0.4891 GB, free: 3.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.763e-05/0.3898, allocations: 45.7 kB / 0.4892 GB, free: 3.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.3902, allocations: 427.5 kB / 0.4896 GB, free: 3.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.3904, allocations: 279.9 kB / 0.4899 GB, free: 2.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.3904, allocations: 20 kB / 0.4899 GB, free: 2.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3906, allocations: 374.8 kB / 0.4902 GB, free: 2.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/0.3911, allocations: 281.9 kB / 0.4905 GB, free: 2.199 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006858/0.3918, allocations: 0.5317 MB / 0.491 GB, free: 1.562 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.3931, allocations: 0.8188 MB / 0.4918 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.3932, allocations: 7.938 kB / 0.4918 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.1482/0.5414, allocations: 1.082 MB / 0.4929 GB, free: 98.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.5415, allocations: 8.594 kB / 0.4929 GB, free: 98.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.5415, allocations: 7.688 kB / 0.4929 GB, free: 98.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009717/0.5425, allocations: 268.1 kB / 0.4932 GB, free: 98.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/0.5433, allocations: 170.1 kB / 0.4933 GB, free: 98.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004648/0.5479, allocations: 4.385 MB / 0.4976 GB, free: 96.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007373/0.5487, allocations: 112.1 kB / 0.4977 GB, free: 96.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.877e-05/0.5488, allocations: 42.67 kB / 0.4977 GB, free: 96.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,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 (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 17,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004636/0.5493, allocations: 252.5 kB / 0.498 GB, free: 96.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.5494, allocations: 76.47 kB / 0.4981 GB, free: 96.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/0.5514, allocations: 1.006 MB / 0.499 GB, free: 96.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.5515, allocations: 8.75 kB / 0.4991 GB, free: 96.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.5515, allocations: 1.969 kB / 0.4991 GB, free: 96.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.5515, allocations: 13.98 kB / 0.4991 GB, free: 96.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/0.5547, allocations: 1.985 MB / 0.501 GB, free: 95.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.5547, allocations: 0 / 0.501 GB, free: 95.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/0.5551, allocations: 105.4 kB / 0.5011 GB, free: 95.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007161/0.5559, allocations: 259.5 kB / 0.5014 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.853e-05/0.5559, allocations: 21.69 kB / 0.5014 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004133/0.5601, allocations: 4.358 MB / 0.5056 GB, free: 92.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5601, allocations: 3.156 kB / 0.5056 GB, free: 92.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.5623, allocations: 1.43 MB / 0.507 GB, free: 92.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.5627, allocations: 214.4 kB / 0.5072 GB, free: 92.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.5628, allocations: 19.38 kB / 0.5073 GB, free: 92.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004659/0.5633, allocations: 53.48 kB / 0.5073 GB, free: 92.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.5634, allocations: 75.8 kB / 0.5074 GB, free: 92.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.5635, allocations: 22.59 kB / 0.5074 GB, free: 92.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003058/0.5638, allocations: 315.5 kB / 0.5077 GB, free: 92.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5638, allocations: 0 / 0.5077 GB, free: 92.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001127/0.5649, allocations: 322.4 kB / 0.508 GB, free: 92.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (currentSensorQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * 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 (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002907/0.5652, allocations: 173.2 kB / 0.5082 GB, free: 92.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.567, allocations: 1.129 MB / 0.5093 GB, free: 91.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.567, allocations: 0 / 0.5093 GB, free: 91.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009861/0.568, allocations: 0.752 MB / 0.51 GB, free: 91.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006888/0.5687, allocations: 116.2 kB / 0.5101 GB, free: 91.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.5715, allocations: 2.063 MB / 0.5121 GB, free: 90.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.572, allocations: 0.9995 MB / 0.5131 GB, free: 89.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004154/0.5724, allocations: 92.83 kB / 0.5132 GB, free: 89.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.5725, allocations: 47.17 kB / 0.5132 GB, free: 89.33 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5726, allocations: 0 / 0.5132 GB, free: 89.33 MB / 378.7 MB Notification: Performance of Templates: time 0.01757/0.5901, allocations: 11.32 MB / 0.5243 GB, free: 88.59 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches