Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009526/0.0009526, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009393/0.0009393, allocations: 169 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.515e-05, allocations: 6.25 kB / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003622/0.003637, allocations: 4.137 MB / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.00477, allocations: 1.005 MB / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.004936, allocations: 11.94 kB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.005111, allocations: 99 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.005425, allocations: 210.1 kB / 278.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.005671, allocations: 199.6 kB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000457/0.006128, allocations: 0.7552 MB / 279.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.006323, allocations: 147.7 kB / 280 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.006656, allocations: 435 kB / 280.4 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.006882, allocations: 251.2 kB / 280.6 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.945e-05/0.006941, allocations: 60 kB / 280.7 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.008e-05/0.007031, allocations: 64 kB / 280.8 MB, free: 9.875 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.816e-05/0.007129, allocations: 155.3 kB / 280.9 MB, free: 9.723 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.007266, allocations: 227.4 kB / 281.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.007634, allocations: 0.4903 MB / 281.6 MB, free: 9.008 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.007635, allocations: 0 / 281.6 MB, free: 9.008 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007636, allocations: 0 / 281.6 MB, free: 9.008 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.007641, allocations: 0 / 281.6 MB, free: 9.008 MB / 266.7 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.001089/0.00873, allocations: 0.9746 MB / 282.6 MB, free: 7.996 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.008769, allocations: 8.031 kB / 282.6 MB, free: 7.988 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.008971, allocations: 132.5 kB / 282.7 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.009253, allocations: 330.5 kB / 283.1 MB, free: 7.508 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.009277, allocations: 41.69 kB / 283.1 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.009327, allocations: 52.33 kB / 283.2 MB, free: 7.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.00971, allocations: 435.4 kB / 283.6 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.009722, allocations: 8.172 kB / 283.6 MB, free: 6.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.009756, allocations: 24.12 kB / 283.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.009766, allocations: 12 kB / 283.6 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.009996, allocations: 202.8 kB / 283.8 MB, free: 6.711 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.0114, allocations: 1.984 MB / 285.8 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.01176, allocations: 419.9 kB / 286.2 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.01197, allocations: 237.6 kB / 286.4 MB, free: 3.992 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.01199, allocations: 12.5 kB / 286.5 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.01201, allocations: 41.89 kB / 286.5 MB, free: 3.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 1.803e-06/0.01202, allocations: 0 / 286.5 MB, free: 3.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.001744/0.01376, allocations: 1.229 MB / 287.7 MB, free: 2.648 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.01379, allocations: 63.84 kB / 287.8 MB, free: 2.574 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.01398, allocations: 362.6 kB / 288.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.014, allocations: 33.7 kB / 288.2 MB, free: 2.164 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.01411, allocations: 288 kB / 288.5 MB, free: 1.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.441e-05/0.01421, allocations: 214.1 kB / 288.7 MB, free: 1.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/0.0143, allocations: 103.9 kB / 288.8 MB, free: 1.555 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003652/0.01466, allocations: 0.5312 MB / 289.3 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.364e-05/0.01475, allocations: 61.27 kB / 289.4 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.01486, allocations: 130.4 kB / 289.5 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.01505, allocations: 199.8 kB / 289.7 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01506, allocations: 0 / 289.7 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004551/0.01551, allocations: 467.4 kB / 290.1 MB, free: 136 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.01552, allocations: 8 kB / 290.1 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01553, allocations: 4.031 kB / 290.2 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.104/0.1195, allocations: 203.7 kB / 290.4 MB, free: 25.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.1197, allocations: 59.16 kB / 290.4 MB, free: 25.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.1226, allocations: 8.704 MB / 299.1 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.1228, allocations: 17.91 kB / 299.1 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.1228, allocations: 15.52 kB / 299.1 MB, free: 17.55 MB / 266.7 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.0001289/0.1229, allocations: 183.1 kB / 299.3 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.851e-05/0.123, allocations: 76.23 kB / 299.4 MB, free: 17.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.1231, allocations: 63.14 kB / 299.5 MB, free: 17.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1231, allocations: 8.25 kB / 299.5 MB, free: 17.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.1231, allocations: 3.469 kB / 299.5 MB, free: 17.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1231, allocations: 4.375 kB / 299.5 MB, free: 17.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.1244, allocations: 0.9221 MB / 300.4 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1244, allocations: 1.062 kB / 300.4 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.1246, allocations: 55.92 kB / 300.5 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004941/0.1251, allocations: 213 kB / 300.7 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.1251, allocations: 13.38 kB / 300.7 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003708/0.1288, allocations: 8.716 MB / 309.4 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1288, allocations: 2.812 kB / 309.4 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000952/0.1298, allocations: 0.7139 MB / 310.1 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.1299, allocations: 82.77 kB / 310.2 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.13, allocations: 8.312 kB / 310.2 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.1302, allocations: 18.06 kB / 310.2 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.1303, allocations: 62.89 kB / 310.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.1303, allocations: 9.516 kB / 310.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002018/0.1305, allocations: 249 kB / 310.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1305, allocations: 1.125 kB / 310.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001002/0.1315, allocations: 175.9 kB / 310.7 MB, free: 8.73 MB / 266.7 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.0001284/0.1317, allocations: 109 kB / 310.8 MB, free: 8.637 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.1327, allocations: 1.069 MB / 311.9 MB, free: 7.895 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1327, allocations: 1.156 kB / 311.9 MB, free: 7.895 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007666/0.1335, allocations: 0.9741 MB / 312.9 MB, free: 7.156 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.1339, allocations: 85.09 kB / 312.9 MB, free: 7.148 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.1361, allocations: 1.138 MB / 314.1 MB, free: 6.535 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.1363, allocations: 146.2 kB / 314.2 MB, free: 6.457 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.1364, allocations: 38.16 kB / 314.3 MB, free: 6.445 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.1366, allocations: 148.5 kB / 314.4 MB, free: 6.375 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1366, allocations: 0 / 314.4 MB, free: 6.375 MB / 266.7 MB Notification: Performance of Templates: time 0.01177/0.1484, allocations: 9.039 MB / 323.4 MB, free: 1.414 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.079824068117887]