Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3.2.3_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_3.2.3_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.001169/0.001169, allocations: 100.2 kB / 17.58 MB, free: 5.418 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.001214/0.001214, allocations: 191.9 kB / 18.51 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 51.94 kB / 280.6 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09682/0.0982, allocations: 46.62 MB / 327.3 MB, free: 4.488 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005676/0.1039, allocations: 4.205 MB / 331.5 MB, free: 256 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.106, allocations: 0.9549 MB / 332.4 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003799/0.1064, allocations: 12 kB / 332.4 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.1067, allocations: 98.94 kB / 332.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004989/0.1072, allocations: 186.3 kB / 332.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.1075, allocations: 167.7 kB / 332.9 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006442/0.1082, allocations: 0.7245 MB / 333.6 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003197/0.1085, allocations: 215.1 kB / 333.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.1088, allocations: 290.9 kB / 334.1 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004521/0.1093, allocations: 334.5 kB / 334.4 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.826e-05/0.1094, allocations: 60 kB / 334.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-05/0.1095, allocations: 60 kB / 334.5 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.1096, allocations: 147.5 kB / 334.7 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.1099, allocations: 322.3 kB / 335 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005571/0.1105, allocations: 0.7006 MB / 335.7 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1105, allocations: 0 / 335.7 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1105, allocations: 0 / 335.7 MB, free: 11.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1105, allocations: 0 / 335.7 MB, free: 11.99 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.001465/0.112, allocations: 0.9119 MB / 336.6 MB, free: 11.03 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.112, allocations: 8.031 kB / 336.6 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.1122, allocations: 72.19 kB / 336.7 MB, free: 10.95 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.1126, allocations: 381.9 kB / 337.1 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/0.1126, allocations: 37.69 kB / 337.1 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.399e-05/0.1127, allocations: 48.38 kB / 337.2 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008188/0.1135, allocations: 0.5493 MB / 337.7 MB, free: 9.875 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.1136, allocations: 0 / 337.7 MB, free: 9.875 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.1136, allocations: 23.94 kB / 337.7 MB, free: 9.852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.1137, allocations: 12 kB / 337.7 MB, free: 9.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000801/0.1145, allocations: 451.7 kB / 338.2 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/0.1171, allocations: 2.046 MB / 340.2 MB, free: 7.266 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.1181, allocations: 0.6415 MB / 340.9 MB, free: 6.602 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.1187, allocations: 394.2 kB / 341.3 MB, free: 6.215 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.1187, allocations: 4.562 kB / 341.3 MB, free: 6.207 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1188, allocations: 39.12 kB / 341.3 MB, free: 6.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=60): time 3.487e-06/0.1188, allocations: 0 / 341.3 MB, free: 6.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004211/0.123, allocations: 2.044 MB / 343.3 MB, free: 3.996 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.1231, allocations: 55.97 kB / 343.4 MB, free: 3.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/0.1236, allocations: 357.7 kB / 343.7 MB, free: 3.566 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.1236, allocations: 41.7 kB / 343.8 MB, free: 3.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.1238, allocations: 229.2 kB / 344 MB, free: 3.293 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.1239, allocations: 205 kB / 344.2 MB, free: 3.09 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.1241, allocations: 94.23 kB / 344.3 MB, free: 2.992 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.1242, allocations: 350.8 kB / 344.6 MB, free: 2.641 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.1245, allocations: 165 kB / 344.8 MB, free: 2.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.1249, allocations: 219.8 kB / 345 MB, free: 2.262 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/0.1256, allocations: 380.8 kB / 345.4 MB, free: 1.883 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1256, allocations: 3.938 kB / 345.4 MB, free: 1.879 MB / 286.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001156/0.1267, allocations: 0.6656 MB / 346.1 MB, free: 1.195 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.1268, allocations: 15.92 kB / 346.1 MB, free: 1.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.1268, allocations: 0 / 346.1 MB, free: 1.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007448/0.1276, allocations: 259.2 kB / 346.3 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.1279, allocations: 71.89 kB / 346.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00708/0.135, allocations: 7.504 MB / 353.9 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.1354, allocations: 16.02 kB / 353.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.1355, allocations: 16.56 kB / 353.9 MB, free: 8.75 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 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002985/0.1358, allocations: 169.8 kB / 354.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.888e-05/0.1359, allocations: 47.44 kB / 354.1 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.136, allocations: 73.02 kB / 354.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.136, allocations: 4 kB / 354.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.136, allocations: 7.938 kB / 354.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.136, allocations: 7.922 kB / 354.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.1381, allocations: 1.337 MB / 355.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1381, allocations: 0 / 355.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.1384, allocations: 59.89 kB / 355.6 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006383/0.139, allocations: 255.2 kB / 355.9 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/0.1391, allocations: 16.12 kB / 355.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006566/0.1457, allocations: 7.512 MB / 363.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1457, allocations: 4.062 kB / 363.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.1474, allocations: 1.029 MB / 364.4 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.1476, allocations: 161 kB / 364.6 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/0.1477, allocations: 12 kB / 364.6 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.1479, allocations: 11.98 kB / 364.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.1481, allocations: 60.42 kB / 364.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/0.1481, allocations: 12 kB / 364.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002574/0.1484, allocations: 255.2 kB / 364.9 MB, free: 13.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1484, allocations: 7.938 kB / 364.9 MB, free: 13.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00083/0.1492, allocations: 176 kB / 365.1 MB, free: 12.87 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001581/0.1494, allocations: 115.5 kB / 365.2 MB, free: 12.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.151, allocations: 1.057 MB / 366.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.151, allocations: 0 / 366.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.1521, allocations: 0.8452 MB / 367.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.1526, allocations: 97.5 kB / 367.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.1547, allocations: 1.29 MB / 368.5 MB, free: 9.328 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.1552, allocations: 0.8754 MB / 369.4 MB, free: 8.426 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.1553, allocations: 48.55 kB / 369.4 MB, free: 8.379 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.1554, allocations: 35.44 kB / 369.5 MB, free: 8.344 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1554, allocations: 0 / 369.5 MB, free: 8.344 MB / 318.1 MB Notification: Performance of Templates: time 0.1549/0.3104, allocations: 8.937 MB / 378.4 MB, free: 52.14 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches