Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.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.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, allocations: 99.75 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 205.4 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002891, allocations: 4 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 51.49 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.00409/0.1332, allocations: 3.43 MB / 361.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.1352, allocations: 0.982 MB / 362.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003034/0.1355, allocations: 8 kB / 362.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.1357, allocations: 79.38 kB / 362.6 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005864/0.1363, allocations: 215.3 kB / 362.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1366, allocations: 127.8 kB / 362.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005523/0.1372, allocations: 492 kB / 363.4 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/0.1375, allocations: 170.5 kB / 363.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003598/0.1379, allocations: 243 kB / 363.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003793/0.1383, allocations: 274.8 kB / 364 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.889e-05/0.1383, allocations: 36 kB / 364.1 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1384, allocations: 43.98 kB / 364.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.1386, allocations: 111.6 kB / 364.2 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.1387, allocations: 137.4 kB / 364.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004848/0.1392, allocations: 0.4985 MB / 364.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1392, allocations: 0 / 364.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.1392, allocations: 4 kB / 364.9 MB, free: 7.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1393, allocations: 0 / 364.9 MB, free: 7.07 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001513/0.1408, allocations: 0.8294 MB / 365.7 MB, free: 6.195 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.1408, allocations: 15.97 kB / 365.7 MB, free: 6.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003672/0.1412, allocations: 95.22 kB / 365.8 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004816/0.1417, allocations: 368.9 kB / 366.2 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.1418, allocations: 37.31 kB / 366.2 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/0.1418, allocations: 51.98 kB / 366.3 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009867/0.1428, allocations: 0.5491 MB / 366.8 MB, free: 5.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1429, allocations: 0 / 366.8 MB, free: 5.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/0.1429, allocations: 20 kB / 366.8 MB, free: 5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.1429, allocations: 12 kB / 366.8 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008595/0.1438, allocations: 459.7 kB / 367.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003291/0.1471, allocations: 2.054 MB / 369.3 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009824/0.1481, allocations: 0.6541 MB / 370 MB, free: 1.715 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.507e-05/0.1482, allocations: 8.5 kB / 370 MB, free: 1.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.1482, allocations: 39.12 kB / 370 MB, free: 1.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 2.174e-06/0.1482, allocations: 0 / 370 MB, free: 1.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.2411/0.3893, allocations: 2.049 MB / 372.1 MB, free: 19.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.3894, allocations: 59.41 kB / 372.1 MB, free: 19.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/0.39, allocations: 357.1 kB / 372.5 MB, free: 19.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/0.3901, allocations: 34.48 kB / 372.5 MB, free: 19.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.3903, allocations: 233.5 kB / 372.8 MB, free: 19.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.3905, allocations: 197.2 kB / 373 MB, free: 19.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.3905, allocations: 12 kB / 373 MB, free: 19.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3907, allocations: 360.6 kB / 373.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.3911, allocations: 172.6 kB / 373.5 MB, free: 18.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.3916, allocations: 213.5 kB / 373.7 MB, free: 18.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/0.3921, allocations: 188 kB / 373.9 MB, free: 18.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3921, allocations: 3 kB / 373.9 MB, free: 18.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001519/0.3936, allocations: 0.6676 MB / 374.5 MB, free: 18.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3936, allocations: 9.828 kB / 374.6 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3936, allocations: 0 / 374.6 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007581/0.3944, allocations: 256.5 kB / 374.8 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.3947, allocations: 61.2 kB / 374.9 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00619/0.4009, allocations: 6.837 MB / 381.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/0.4013, allocations: 20.91 kB / 381.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.4014, allocations: 19.81 kB / 381.7 MB, free: 12.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002402/0.4016, allocations: 171.8 kB / 381.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.047e-05/0.4017, allocations: 52.06 kB / 382 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.4018, allocations: 63.92 kB / 382 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.4018, allocations: 6.125 kB / 382 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/0.4019, allocations: 9.781 kB / 382 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.4019, allocations: 7.109 kB / 382 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.4042, allocations: 1.354 MB / 383.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4042, allocations: 3.938 kB / 383.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.4045, allocations: 62.86 kB / 383.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/0.4056, allocations: 254.4 kB / 383.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.838e-05/0.4057, allocations: 11.38 kB / 383.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008252/0.4139, allocations: 6.839 MB / 390.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.414, allocations: 0.8438 kB / 390.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/0.417, allocations: 1.035 MB / 391.6 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.4174, allocations: 158.8 kB / 391.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-05/0.4175, allocations: 11.34 kB / 391.8 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.418, allocations: 24.73 kB / 391.8 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/0.4182, allocations: 54.27 kB / 391.8 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.384e-05/0.4183, allocations: 16.42 kB / 391.9 MB, free: 4.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000492/0.4188, allocations: 253.3 kB / 392.1 MB, free: 4.324 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4188, allocations: 4 kB / 392.1 MB, free: 4.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001568/0.4204, allocations: 176.2 kB / 392.3 MB, free: 4.297 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002175/0.4206, allocations: 113.6 kB / 392.4 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002609/0.4232, allocations: 1.05 MB / 393.4 MB, free: 3.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4232, allocations: 0 / 393.4 MB, free: 3.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001699/0.4249, allocations: 0.8407 MB / 394.3 MB, free: 2.902 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007114/0.4257, allocations: 74.66 kB / 394.4 MB, free: 2.871 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.4294, allocations: 1.514 MB / 395.9 MB, free: 1.945 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.43, allocations: 0.8879 MB / 396.8 MB, free: 1.238 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003188/0.4303, allocations: 50.16 kB / 396.8 MB, free: 1.227 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.4305, allocations: 28.06 kB / 396.8 MB, free: 1.219 MB / 302.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4305, allocations: 4 kB / 396.8 MB, free: 1.215 MB / 302.1 MB Notification: Performance of Templates: time 0.0247/0.4552, allocations: 7.842 MB / 404.7 MB, free: 14.14 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches