Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001906/0.002996, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001834/0.003097, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.013/1.013, allocations: 177.5 MB / 190 MB, free: 4.758 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08387/1.097, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 245.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.032e-05, allocations: 2.312 kB / 245.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004525/0.004546, allocations: 4.203 MB / 249.4 MB, free: 9.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.006508, allocations: 1.059 MB / 250.5 MB, free: 8.203 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.006778, allocations: 15.94 kB / 250.5 MB, free: 8.188 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.006985, allocations: 98.95 kB / 250.6 MB, free: 8.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.0074, allocations: 206.1 kB / 250.8 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.007765, allocations: 207.6 kB / 251 MB, free: 7.684 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007025/0.008468, allocations: 0.7592 MB / 251.8 MB, free: 6.922 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000503/0.008971, allocations: 164.2 kB / 251.9 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000639/0.00961, allocations: 500 kB / 252.4 MB, free: 6.266 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003537/0.009963, allocations: 247.2 kB / 252.7 MB, free: 6.023 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.613e-05/0.01005, allocations: 60 kB / 252.7 MB, free: 5.965 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.01019, allocations: 71.98 kB / 252.8 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.01032, allocations: 111.6 kB / 252.9 MB, free: 5.785 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.0105, allocations: 187.6 kB / 253.1 MB, free: 5.602 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.011, allocations: 446.3 kB / 253.5 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.608e-05/0.01102, allocations: 4 kB / 253.5 MB, free: 5.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01102, allocations: 3.938 kB / 253.5 MB, free: 5.156 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.01104, allocations: 0 / 253.5 MB, free: 5.156 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.001231/0.01227, allocations: 0.9669 MB / 254.5 MB, free: 4.164 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.0123, allocations: 8.625 kB / 254.5 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003377/0.01264, allocations: 190 kB / 254.7 MB, free: 3.953 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.01301, allocations: 275.7 kB / 255 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.01304, allocations: 37.69 kB / 255 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.391e-05/0.0131, allocations: 52.31 kB / 255 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.01359, allocations: 427.6 kB / 255.5 MB, free: 3.121 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.0136, allocations: 4.125 kB / 255.5 MB, free: 3.117 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.01363, allocations: 28.12 kB / 255.5 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.01365, allocations: 15.98 kB / 255.5 MB, free: 3.074 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.01393, allocations: 182.8 kB / 255.7 MB, free: 2.898 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.01561, allocations: 1.446 MB / 257.1 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004727/0.01608, allocations: 389.5 kB / 257.5 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.01633, allocations: 218.9 kB / 257.7 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.01637, allocations: 20.42 kB / 257.7 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.01639, allocations: 39.06 kB / 257.8 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 2.295e-06/0.0164, allocations: 0 / 257.8 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.002199/0.01859, allocations: 1.137 MB / 258.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002966/0.01889, allocations: 63.84 kB / 259 MB, free: 15.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.01911, allocations: 307.4 kB / 259.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.01914, allocations: 37.7 kB / 259.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/0.01924, allocations: 201.9 kB / 259.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.01935, allocations: 210.2 kB / 259.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.01947, allocations: 98.23 kB / 259.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.01957, allocations: 354.7 kB / 260.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.433e-05/0.01966, allocations: 61.22 kB / 260.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.01979, allocations: 108.8 kB / 260.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.02003, allocations: 200.9 kB / 260.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.02004, allocations: 4 kB / 260.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005102/0.02055, allocations: 368.4 kB / 260.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.02057, allocations: 8 kB / 260.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.02057, allocations: 0 / 260.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004402/0.02101, allocations: 195.2 kB / 261.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.02128, allocations: 67.94 kB / 261.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/0.02568, allocations: 6.043 MB / 267.2 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.02588, allocations: 16.06 kB / 267.2 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.0259, allocations: 12 kB / 267.2 MB, free: 6.793 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.000165/0.02607, allocations: 144.5 kB / 267.4 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.798e-05/0.02614, allocations: 47.95 kB / 267.4 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.127e-05/0.02622, allocations: 64.8 kB / 267.5 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.02622, allocations: 8 kB / 267.5 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.02623, allocations: 0 / 267.5 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.02623, allocations: 7.984 kB / 267.5 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.0273, allocations: 0.7222 MB / 268.2 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.0273, allocations: 0 / 268.2 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.02754, allocations: 67.89 kB / 268.3 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.02765, allocations: 47.7 kB / 268.3 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004029/0.02805, allocations: 206.3 kB / 268.5 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.02807, allocations: 8 kB / 268.5 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00396/0.03203, allocations: 6.06 MB / 274.6 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.03204, allocations: 0 / 274.6 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.03279, allocations: 0.5927 MB / 275.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.03284, allocations: 12 kB / 275.2 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.033, allocations: 15.94 kB / 275.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.03313, allocations: 60.33 kB / 275.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.03315, allocations: 12 kB / 275.3 MB, free: 14.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.03327, allocations: 132.7 kB / 275.4 MB, free: 14.15 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03327, allocations: 0 / 275.4 MB, free: 14.15 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007768/0.03405, allocations: 172 kB / 275.6 MB, free: 13.98 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 0.000125/0.03417, allocations: 92.36 kB / 275.7 MB, free: 13.88 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008684/0.03504, allocations: 0.831 MB / 276.5 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.196e-05/0.03506, allocations: 4 kB / 276.5 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006754/0.03574, allocations: 0.7727 MB / 277.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006812/0.03642, allocations: 0.8972 MB / 278.2 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/0.0418, allocations: 1.137 MB / 279.3 MB, free: 9.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.04194, allocations: 158.8 kB / 279.5 MB, free: 9.754 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000136/0.04207, allocations: 32.41 kB / 279.5 MB, free: 9.719 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.04226, allocations: 127.3 kB / 279.6 MB, free: 9.594 MB / 282.7 MB Notification: Performance of SimCode: time 1.663e-06/0.04227, allocations: 0 / 279.6 MB, free: 9.594 MB / 282.7 MB Notification: Performance of Templates: time 0.01464/0.05691, allocations: 9.491 MB / 289.1 MB, free: 228 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.9057313976809382]