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.0009063/0.0009062, allocations: 96.06 kB / 16.95 MB, free: 5.977 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.0009197/0.0009198, allocations: 173.9 kB / 17.83 MB, free: 5.633 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.508/1.508, allocations: 205.4 MB / 224 MB, free: 13.07 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.0004351/0.0004351, allocations: 12 kB / 280.8 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.109, allocations: 47.57 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.00374/0.1128, allocations: 3.619 MB / 332 MB, free: 440 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1141, allocations: 0.928 MB / 332.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.1143, allocations: 8 kB / 332.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.1145, allocations: 71.39 kB / 333 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.1149, allocations: 170.7 kB / 333.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.1151, allocations: 115.9 kB / 333.3 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005774/0.1157, allocations: 0.6776 MB / 333.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002647/0.116, allocations: 170.5 kB / 334.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.1162, allocations: 235.1 kB / 334.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.1165, allocations: 290.8 kB / 334.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.1166, allocations: 32 kB / 334.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.283e-05/0.1167, allocations: 36 kB / 334.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.1168, allocations: 123.4 kB / 334.8 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1169, allocations: 129.4 kB / 334.9 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.1173, allocations: 0.4985 MB / 335.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1174, allocations: 0 / 335.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1174, allocations: 4 kB / 335.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1174, allocations: 0 / 335.4 MB, free: 12.95 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.001203/0.1186, allocations: 0.8301 MB / 336.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1186, allocations: 8.031 kB / 336.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.1187, allocations: 67.16 kB / 336.3 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.1192, allocations: 368.9 kB / 336.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.1192, allocations: 41.27 kB / 336.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.759e-05/0.1193, allocations: 52 kB / 336.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008707/0.1202, allocations: 0.5453 MB / 337.3 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1202, allocations: 0 / 337.3 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.1203, allocations: 24 kB / 337.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.1203, allocations: 12 kB / 337.4 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008455/0.1211, allocations: 459.6 kB / 337.8 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/0.1239, allocations: 2.061 MB / 339.9 MB, free: 8.293 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008847/0.1248, allocations: 0.6415 MB / 340.5 MB, free: 7.621 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/0.1254, allocations: 402.2 kB / 340.9 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.489e-05/0.1255, allocations: 8.562 kB / 340.9 MB, free: 7.219 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1255, allocations: 43.11 kB / 341 MB, free: 7.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=60): time 1.864e-06/0.1255, allocations: 4 kB / 341 MB, free: 7.164 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004146/0.1297, allocations: 2.056 MB / 343 MB, free: 4.988 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.1297, allocations: 59.97 kB / 343.1 MB, free: 4.918 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.1301, allocations: 365.6 kB / 343.4 MB, free: 4.551 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.1302, allocations: 33.7 kB / 343.5 MB, free: 4.512 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.1304, allocations: 229.1 kB / 343.7 MB, free: 4.285 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.1306, allocations: 209 kB / 343.9 MB, free: 4.078 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.1306, allocations: 15.94 kB / 343.9 MB, free: 4.062 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1308, allocations: 350.8 kB / 344.3 MB, free: 3.711 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.1311, allocations: 177 kB / 344.4 MB, free: 3.535 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.1315, allocations: 215.8 kB / 344.6 MB, free: 3.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.1319, allocations: 186.2 kB / 344.8 MB, free: 3.137 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1319, allocations: 0 / 344.8 MB, free: 3.137 MB / 286.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001191/0.1331, allocations: 0.6695 MB / 345.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.1331, allocations: 7.984 kB / 345.5 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.1331, allocations: 4 kB / 345.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007425/0.1339, allocations: 247.2 kB / 345.7 MB, free: 2.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.1342, allocations: 71.89 kB / 345.8 MB, free: 2.109 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006387/0.1406, allocations: 6.773 MB / 352.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.1408, allocations: 20.02 kB / 352.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.1409, allocations: 16.09 kB / 352.6 MB, free: 10.76 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.0002598/0.1411, allocations: 189.7 kB / 352.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-05/0.1412, allocations: 47.44 kB / 352.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.1414, allocations: 72.91 kB / 352.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1414, allocations: 7.984 kB / 352.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.1414, allocations: 4 kB / 352.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1414, allocations: 0 / 352.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.1436, allocations: 1.349 MB / 354.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1437, allocations: 4 kB / 354.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.1439, allocations: 63.89 kB / 354.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000629/0.1446, allocations: 251.2 kB / 354.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.1446, allocations: 8 kB / 354.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006834/0.1515, allocations: 6.785 MB / 361.4 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1515, allocations: 0 / 361.4 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.1532, allocations: 1.041 MB / 362.4 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.1535, allocations: 168.5 kB / 362.6 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.712e-05/0.1535, allocations: 15.94 kB / 362.6 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.1538, allocations: 16 kB / 362.6 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.154, allocations: 60.47 kB / 362.7 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.154, allocations: 15.94 kB / 362.7 MB, free: 8 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003139/0.1543, allocations: 251.2 kB / 362.9 MB, free: 15.76 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1543, allocations: 0 / 362.9 MB, free: 15.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009225/0.1552, allocations: 176 kB / 363.1 MB, free: 15.59 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.0002203/0.1555, allocations: 111.2 kB / 363.2 MB, free: 15.47 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.1574, allocations: 1.041 MB / 364.3 MB, free: 14.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1574, allocations: 3.938 kB / 364.3 MB, free: 14.37 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.1587, allocations: 0.8414 MB / 365.1 MB, free: 13.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.1594, allocations: 85.42 kB / 365.2 MB, free: 13.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.1624, allocations: 1.525 MB / 366.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.1634, allocations: 0.8754 MB / 367.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002284/0.1636, allocations: 52.53 kB / 367.7 MB, free: 10.9 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.986e-05/0.1637, allocations: 27.44 kB / 367.7 MB, free: 10.87 MB / 318.1 MB Notification: Performance of SimCode: time 2.856e-06/0.1638, allocations: 0 / 367.7 MB, free: 10.87 MB / 318.1 MB Notification: Performance of Templates: time 0.01687/0.1806, allocations: 7.855 MB / 375.5 MB, free: 3.02 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches