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.001245/0.001245, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001731/0.002976, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001084/0.001084, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001459/0.002543, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.018/1.018, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1092/1.127, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.262e-06/1.262e-06, allocations: 0 / 244.7 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.077e-06/1.034e-05, allocations: 2.312 kB / 244.7 MB, free: 14.19 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003282/0.003292, allocations: 4.212 MB / 249 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.004759, allocations: 1.047 MB / 250 MB, free: 8.895 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.004921, allocations: 11.94 kB / 250 MB, free: 8.883 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.005063, allocations: 102.9 kB / 250.1 MB, free: 8.781 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.005356, allocations: 218 kB / 250.3 MB, free: 8.566 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.005598, allocations: 187.6 kB / 250.5 MB, free: 8.383 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004878/0.006086, allocations: 0.7552 MB / 251.3 MB, free: 7.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.006269, allocations: 152.3 kB / 251.4 MB, free: 7.473 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004168/0.006686, allocations: 0.4921 MB / 251.9 MB, free: 6.977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.006927, allocations: 251.2 kB / 252.2 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.032e-05/0.006987, allocations: 64 kB / 252.2 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.685e-05/0.007084, allocations: 63.94 kB / 252.3 MB, free: 6.605 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.52e-05/0.007169, allocations: 111.6 kB / 252.4 MB, free: 6.496 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.007294, allocations: 187.6 kB / 252.6 MB, free: 6.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.007631, allocations: 454.3 kB / 253 MB, free: 5.867 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.00764, allocations: 0 / 253 MB, free: 5.867 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00764, allocations: 0 / 253 MB, free: 5.867 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.00765, allocations: 0 / 253 MB, free: 5.867 MB / 250.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.0008522/0.008502, allocations: 0.9669 MB / 254 MB, free: 4.875 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.437e-05/0.008527, allocations: 12.03 kB / 254 MB, free: 4.863 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.008751, allocations: 189.9 kB / 254.2 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.009016, allocations: 275.7 kB / 254.4 MB, free: 4.367 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.00904, allocations: 41.69 kB / 254.5 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.009087, allocations: 52.36 kB / 254.5 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.009433, allocations: 415.6 kB / 254.9 MB, free: 3.836 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.009445, allocations: 8.125 kB / 255 MB, free: 3.828 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.009469, allocations: 28.12 kB / 255 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.00948, allocations: 12 kB / 255 MB, free: 3.789 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.009685, allocations: 178.8 kB / 255.2 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.01093, allocations: 1.454 MB / 256.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.01127, allocations: 397.6 kB / 257 MB, free: 1.711 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.01145, allocations: 214.9 kB / 257.2 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.01148, allocations: 16.44 kB / 257.2 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.0115, allocations: 39.06 kB / 257.3 MB, free: 1.43 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 1.443e-06/0.0115, allocations: 0 / 257.3 MB, free: 1.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.001625/0.01312, allocations: 1.137 MB / 258.4 MB, free: 256 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.01315, allocations: 67.78 kB / 258.5 MB, free: 176 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.01331, allocations: 307.4 kB / 258.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.01333, allocations: 33.7 kB / 258.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.01341, allocations: 205.9 kB / 259 MB, free: 15.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.112e-05/0.0135, allocations: 206.2 kB / 259.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.968e-05/0.01358, allocations: 98.23 kB / 259.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.01366, allocations: 354.7 kB / 259.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.1e-05/0.01374, allocations: 53.28 kB / 259.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.291e-05/0.01383, allocations: 112.8 kB / 259.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.01401, allocations: 200.8 kB / 260 MB, free: 14.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01401, allocations: 0 / 260 MB, free: 14.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003742/0.01438, allocations: 372.4 kB / 260.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.0144, allocations: 4 kB / 260.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.0144, allocations: 4.031 kB / 260.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003277/0.01473, allocations: 195.1 kB / 260.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.01491, allocations: 71.94 kB / 260.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/0.01779, allocations: 6.043 MB / 266.7 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.01789, allocations: 16 kB / 266.7 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.01791, allocations: 8 kB / 266.7 MB, free: 7.508 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.0001001/0.01801, allocations: 148.3 kB / 266.9 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.01806, allocations: 51.95 kB / 266.9 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.01811, allocations: 60.8 kB / 267 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.01811, allocations: 8 kB / 267 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.01812, allocations: 4.031 kB / 267 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01812, allocations: 3.984 kB / 267 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007335/0.01885, allocations: 0.7222 MB / 267.7 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01886, allocations: 0 / 267.7 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.01902, allocations: 74.33 kB / 267.8 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.01909, allocations: 55.62 kB / 267.8 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002933/0.01939, allocations: 190 kB / 268 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.01941, allocations: 12 kB / 268 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/0.0222, allocations: 6.061 MB / 274.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.0222, allocations: 0 / 274.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000539/0.02274, allocations: 0.6005 MB / 274.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.02277, allocations: 12 kB / 274.7 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.02287, allocations: 15.94 kB / 274.7 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.748e-05/0.02296, allocations: 56.39 kB / 274.8 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.02297, allocations: 11.98 kB / 274.8 MB, free: 15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.791e-05/0.02305, allocations: 124.7 kB / 274.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02305, allocations: 4 kB / 274.9 MB, free: 14.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004792/0.02353, allocations: 172 kB / 275.1 MB, free: 14.7 MB / 282.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 9.056e-05/0.02362, allocations: 96.3 kB / 275.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006021/0.02422, allocations: 0.8311 MB / 276 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/0.02424, allocations: 8 kB / 276 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.02471, allocations: 0.7728 MB / 276.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.02516, allocations: 0.8932 MB / 277.7 MB, free: 11.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/0.02853, allocations: 1.15 MB / 278.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.02864, allocations: 154.8 kB / 279 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.1e-05/0.02872, allocations: 32.41 kB / 279 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.02886, allocations: 127.3 kB / 279.1 MB, free: 10.3 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02886, allocations: 0 / 279.1 MB, free: 10.3 MB / 282.7 MB Notification: Performance of Templates: time 0.01102/0.03988, allocations: 9.492 MB / 288.6 MB, free: 0.9336 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0640885401517153]