Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 95.61 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001104, allocations: 184.7 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.000259, allocations: 6.469 kB / 300.7 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09512/0.09539, allocations: 50.42 MB / 351.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003834/0.09928, allocations: 3.418 MB / 354.6 MB, free: 8.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1007, allocations: 0.9314 MB / 355.5 MB, free: 7.355 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.101, allocations: 11.94 kB / 355.5 MB, free: 7.344 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.1011, allocations: 67.5 kB / 355.6 MB, free: 7.277 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004161/0.1015, allocations: 223.3 kB / 355.8 MB, free: 7.059 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.1018, allocations: 111.9 kB / 355.9 MB, free: 6.949 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005544/0.1024, allocations: 500 kB / 356.4 MB, free: 6.461 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.1027, allocations: 162.5 kB / 356.5 MB, free: 6.297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003638/0.103, allocations: 239.1 kB / 356.8 MB, free: 6.062 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/0.1034, allocations: 278.8 kB / 357 MB, free: 5.789 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.104e-05/0.1034, allocations: 36 kB / 357.1 MB, free: 5.754 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.613e-05/0.1035, allocations: 32 kB / 357.1 MB, free: 5.723 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.1037, allocations: 119.5 kB / 357.2 MB, free: 5.605 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.1038, allocations: 137.3 kB / 357.4 MB, free: 5.465 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.1042, allocations: 0.5023 MB / 357.9 MB, free: 4.961 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1042, allocations: 0 / 357.9 MB, free: 4.961 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1043, allocations: 0 / 357.9 MB, free: 4.961 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1043, allocations: 4 kB / 357.9 MB, free: 4.957 MB / 286.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.001353/0.1056, allocations: 0.8184 MB / 358.7 MB, free: 4.086 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1057, allocations: 16.02 kB / 358.7 MB, free: 4.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.1058, allocations: 71.11 kB / 358.8 MB, free: 4 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.1064, allocations: 364.9 kB / 359.1 MB, free: 3.602 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/0.1064, allocations: 41.31 kB / 359.2 MB, free: 3.562 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-05/0.1065, allocations: 48 kB / 359.2 MB, free: 3.516 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009445/0.1074, allocations: 0.5414 MB / 359.8 MB, free: 2.949 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1075, allocations: 0 / 359.8 MB, free: 2.949 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/0.1075, allocations: 27.98 kB / 359.8 MB, free: 2.922 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.1076, allocations: 12 kB / 359.8 MB, free: 2.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008926/0.1085, allocations: 463.6 kB / 360.2 MB, free: 2.457 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00294/0.1114, allocations: 2.058 MB / 362.3 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009026/0.1123, allocations: 0.6531 MB / 363 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.1124, allocations: 4.562 kB / 363 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1124, allocations: 39.12 kB / 363 MB, free: 15.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 1.813e-06/0.1124, allocations: 0 / 363 MB, free: 15.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004368/0.1168, allocations: 2.057 MB / 365.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.1169, allocations: 59.97 kB / 365.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.1173, allocations: 357.7 kB / 365.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1173, allocations: 33.7 kB / 365.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.1175, allocations: 233.1 kB / 365.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.1177, allocations: 209 kB / 365.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.1177, allocations: 12 kB / 365.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1179, allocations: 350.8 kB / 366.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.1182, allocations: 169 kB / 366.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.1186, allocations: 223.7 kB / 366.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.119, allocations: 182.2 kB / 366.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.119, allocations: 0 / 366.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00121/0.1202, allocations: 0.6657 MB / 367.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1202, allocations: 8.031 kB / 367.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1202, allocations: 3.984 kB / 367.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000693/0.1209, allocations: 255.2 kB / 367.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.1212, allocations: 67.89 kB / 367.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006353/0.1276, allocations: 6.828 MB / 374.7 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.1279, allocations: 28.08 kB / 374.7 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.128, allocations: 16 kB / 374.7 MB, free: 3.133 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.0002286/0.1282, allocations: 170.4 kB / 374.9 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/0.1283, allocations: 47.44 kB / 374.9 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.1284, allocations: 68.95 kB / 375 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1284, allocations: 4 kB / 375 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.1284, allocations: 16.42 kB / 375 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1284, allocations: 0 / 375 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.1305, allocations: 1.341 MB / 376.4 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.1305, allocations: 7.953 kB / 376.4 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.1308, allocations: 67.88 kB / 376.4 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006477/0.1315, allocations: 259.1 kB / 376.7 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.1315, allocations: 8 kB / 376.7 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005994/0.1375, allocations: 6.84 MB / 383.5 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1375, allocations: 0 / 383.5 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.1393, allocations: 1.044 MB / 384.6 MB, free: 8.617 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.1395, allocations: 160.4 kB / 384.7 MB, free: 8.441 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.1395, allocations: 12 kB / 384.7 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.1398, allocations: 16 kB / 384.8 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.1399, allocations: 52.48 kB / 384.8 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.14, allocations: 19.98 kB / 384.8 MB, free: 8.344 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002519/0.1402, allocations: 255.2 kB / 385.1 MB, free: 8.094 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1402, allocations: 0 / 385.1 MB, free: 8.094 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008551/0.1411, allocations: 172 kB / 385.2 MB, free: 7.926 MB / 318.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.0001363/0.1412, allocations: 115.2 kB / 385.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.1428, allocations: 1.041 MB / 386.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1428, allocations: 0 / 386.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.1439, allocations: 0.853 MB / 387.3 MB, free: 5.801 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.1443, allocations: 73.56 kB / 387.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.1465, allocations: 1.521 MB / 388.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.1469, allocations: 0.887 MB / 389.7 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.1471, allocations: 56.53 kB / 389.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.1472, allocations: 27.44 kB / 389.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1472, allocations: 0 / 389.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of Templates: time 0.01298/0.1602, allocations: 7.851 MB / 397.7 MB, free: 11.41 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches