Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001498/0.001498, allocations: 188.9 kB / 16.41 MB, free: 5.723 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.934/1.934, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001139/0.001138, allocations: 90.22 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.000394, allocations: 12 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3204, allocations: 47.56 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.4648, allocations: 87.05 MB / 461.6 MB, free: 9.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.4652, allocations: 87.95 kB / 461.7 MB, free: 9.625 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0964/0.5616, allocations: 22.5 MB / 484.2 MB, free: 2.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.5617, allocations: 7.938 kB / 484.2 MB, free: 2.922 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.21e-05/0.5617, allocations: 16 kB / 484.2 MB, free: 2.906 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.00474/0.5665, allocations: 1.224 MB / 485.4 MB, free: 1.625 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.5666, allocations: 8.031 kB / 485.4 MB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003647/0.5702, allocations: 378.3 kB / 485.8 MB, free: 1.246 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.5719, allocations: 0.5334 MB / 486.3 MB, free: 0.668 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.5721, allocations: 78.03 kB / 486.4 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/0.5724, allocations: 108 kB / 486.5 MB, free: 496 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003656/0.5761, allocations: 1.051 MB / 487.6 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.166e-05/0.5762, allocations: 3.906 kB / 487.6 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.5764, allocations: 40 kB / 487.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/0.5765, allocations: 28 kB / 487.6 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003758/0.5802, allocations: 0.9369 MB / 488.6 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/0.5916, allocations: 3.802 MB / 492.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005218/0.5968, allocations: 2.489 MB / 494.9 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/0.5971, allocations: 97.69 kB / 495 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001641/0.5988, allocations: 0.5085 MB / 495.5 MB, free: 6.887 MB / 378.7 MB Notification: Performance of pre-optimization done (n=86): time 4.97e-06/0.5989, allocations: 3.938 kB / 495.5 MB, free: 6.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=86): time 0.00833/0.6072, allocations: 1.673 MB / 497.1 MB, free: 5.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.6074, allocations: 200.9 kB / 497.3 MB, free: 4.922 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008368/0.6082, allocations: 417.1 kB / 497.7 MB, free: 4.504 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001885/0.6084, allocations: 45.69 kB / 497.8 MB, free: 4.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/0.6089, allocations: 461.9 kB / 498.2 MB, free: 3.996 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004217/0.6094, allocations: 287.8 kB / 498.5 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.695e-05/0.6095, allocations: 20 kB / 498.5 MB, free: 3.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6096, allocations: 346.8 kB / 498.9 MB, free: 3.344 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.6107, allocations: 285.9 kB / 499.2 MB, free: 3.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.612, allocations: 0.5239 MB / 499.7 MB, free: 2.438 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.6132, allocations: 343.1 kB / 0.4883 GB, free: 2.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.6133, allocations: 0 / 0.4883 GB, free: 2.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003742/0.617, allocations: 1.069 MB / 0.4893 GB, free: 1.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.6171, allocations: 15.94 kB / 0.4894 GB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.6171, allocations: 8 kB / 0.4894 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.6186, allocations: 268.3 kB / 0.4896 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.6199, allocations: 159.7 kB / 0.4898 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2792/0.8991, allocations: 4.481 MB / 0.4942 GB, free: 96.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.9004, allocations: 116 kB / 0.4943 GB, free: 96.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.9006, allocations: 41.53 kB / 0.4943 GB, free: 96.3 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.0006451/0.9012, allocations: 244.2 kB / 0.4945 GB, free: 96.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.9015, allocations: 67.47 kB / 0.4946 GB, free: 96.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003529/0.905, allocations: 1.016 MB / 0.4956 GB, free: 96.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.9051, allocations: 9.031 kB / 0.4956 GB, free: 96.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.9051, allocations: 1 kB / 0.4956 GB, free: 96.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-05/0.9051, allocations: 5.25 kB / 0.4956 GB, free: 96.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005596/0.9107, allocations: 1.982 MB / 0.4975 GB, free: 95.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.9108, allocations: 1.031 kB / 0.4975 GB, free: 95.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009483/0.9118, allocations: 105.1 kB / 0.4976 GB, free: 95.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.9132, allocations: 264.2 kB / 0.4979 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/0.9134, allocations: 19.2 kB / 0.4979 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007293/0.9207, allocations: 4.445 MB / 0.5023 GB, free: 92.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.9207, allocations: 1.125 kB / 0.5023 GB, free: 92.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0046/0.9253, allocations: 1.43 MB / 0.5037 GB, free: 92.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005584/0.9259, allocations: 216.4 kB / 0.5039 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.9261, allocations: 20.19 kB / 0.5039 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008403/0.927, allocations: 51.81 kB / 0.5039 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/0.9273, allocations: 70.52 kB / 0.504 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/0.9274, allocations: 26.34 kB / 0.504 GB, free: 92.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000553/0.9279, allocations: 314.6 kB / 0.5043 GB, free: 92.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9279, allocations: 0.9375 kB / 0.5043 GB, free: 92.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001689/0.9296, allocations: 324.5 kB / 0.5046 GB, free: 92.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0004202/0.9301, allocations: 166.6 kB / 0.5048 GB, free: 92.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003051/0.9332, allocations: 1.126 MB / 0.5059 GB, free: 91.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.9332, allocations: 3.312 kB / 0.5059 GB, free: 91.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.9352, allocations: 0.7468 MB / 0.5066 GB, free: 91.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009111/0.9361, allocations: 108.3 kB / 0.5067 GB, free: 91.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007219/0.9434, allocations: 2.602 MB / 0.5093 GB, free: 90.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.944, allocations: 1.022 MB / 0.5103 GB, free: 89.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.9443, allocations: 56.34 kB / 0.5103 GB, free: 89.31 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.9444, allocations: 0 / 0.5103 GB, free: 89.31 MB / 378.7 MB Notification: Performance of Templates: time 0.02776/0.9721, allocations: 16.82 MB / 0.5267 GB, free: 84.17 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches