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.002502/0.002502, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002827/0.002827, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.576/1.576, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 2.074e-06/2.074e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.369e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006711/0.006744, allocations: 4.163 MB / 276.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.009123, allocations: 1.005 MB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004641/0.009587, allocations: 11.94 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.009972, allocations: 103 kB / 277.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007866/0.01076, allocations: 214.1 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.0113, allocations: 191.6 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.01253, allocations: 0.7708 MB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003966/0.01293, allocations: 159.5 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009355/0.01386, allocations: 431 kB / 279.2 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005185/0.01438, allocations: 255.2 kB / 279.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.0145, allocations: 60 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.01466, allocations: 64 kB / 279.6 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.01485, allocations: 151.4 kB / 279.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.01516, allocations: 235.4 kB / 280 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.01633, allocations: 0.7436 MB / 280.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01634, allocations: 0 / 280.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01634, allocations: 0 / 280.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.01635, allocations: 0 / 280.7 MB, free: 9.223 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.00179/0.01814, allocations: 0.994 MB / 281.7 MB, free: 8.191 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.01819, allocations: 15.97 kB / 281.7 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004406/0.01863, allocations: 132.5 kB / 281.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006005/0.01923, allocations: 342.5 kB / 282.2 MB, free: 7.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/0.01928, allocations: 37.69 kB / 282.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.159e-05/0.01937, allocations: 56.33 kB / 282.3 MB, free: 7.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.02039, allocations: 0.5691 MB / 282.9 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.02041, allocations: 192 / 282.9 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.417e-05/0.02046, allocations: 24.12 kB / 282.9 MB, free: 6.961 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.02048, allocations: 16 kB / 282.9 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008999/0.02138, allocations: 419.7 kB / 283.3 MB, free: 6.539 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00345/0.02483, allocations: 2.214 MB / 285.5 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009748/0.0258, allocations: 0.5189 MB / 286.1 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006472/0.02645, allocations: 365 kB / 286.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.0265, allocations: 12.5 kB / 286.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.02654, allocations: 37.89 kB / 286.5 MB, free: 3.293 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 2.505e-06/0.02654, allocations: 0 / 286.5 MB, free: 3.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.004912/0.03146, allocations: 1.721 MB / 288.2 MB, free: 1.516 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.03152, allocations: 63.84 kB / 288.2 MB, free: 1.441 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/0.03207, allocations: 442.7 kB / 288.7 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.03212, allocations: 37.7 kB / 288.7 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.03237, allocations: 296.1 kB / 289 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.03258, allocations: 214.2 kB / 289.2 MB, free: 456 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.03276, allocations: 116 kB / 289.3 MB, free: 328 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.1046/0.1374, allocations: 0.543 MB / 289.9 MB, free: 27.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.1378, allocations: 147.1 kB / 290 MB, free: 27.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003331/0.1381, allocations: 210.6 kB / 290.2 MB, free: 27.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005989/0.1387, allocations: 388.2 kB / 290.6 MB, free: 27.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1387, allocations: 0 / 290.6 MB, free: 27.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001187/0.1399, allocations: 0.6711 MB / 291.3 MB, free: 27.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1399, allocations: 6.438 kB / 291.3 MB, free: 27.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.1399, allocations: 0 / 291.3 MB, free: 27.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007654/0.1407, allocations: 272.3 kB / 291.5 MB, free: 27.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.1409, allocations: 62.62 kB / 291.6 MB, free: 27.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005558/0.1465, allocations: 9.456 MB / 301.1 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.1468, allocations: 19.36 kB / 301.1 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.1468, allocations: 15.06 kB / 301.1 MB, free: 19.17 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.000183/0.147, allocations: 215.9 kB / 301.3 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.1471, allocations: 71.19 kB / 301.4 MB, free: 18.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.1472, allocations: 61.61 kB / 301.4 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1472, allocations: 11.77 kB / 301.4 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1472, allocations: 3.719 kB / 301.4 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.1472, allocations: 4.438 kB / 301.5 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.1492, allocations: 1.27 MB / 302.7 MB, free: 18.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.1492, allocations: 1.078 kB / 302.7 MB, free: 18.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.1494, allocations: 61.08 kB / 302.8 MB, free: 18.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006879/0.1501, allocations: 270.8 kB / 303 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.1502, allocations: 12.19 kB / 303.1 MB, free: 18.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005652/0.1558, allocations: 9.469 MB / 312.5 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1558, allocations: 0.7031 kB / 312.5 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.1574, allocations: 1.05 MB / 313.6 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.1576, allocations: 82.95 kB / 313.7 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.383e-05/0.1576, allocations: 11.36 kB / 313.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.1579, allocations: 19.59 kB / 313.7 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.158, allocations: 56.8 kB / 313.7 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.158, allocations: 15.17 kB / 313.8 MB, free: 8.766 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002628/0.1583, allocations: 296 kB / 314 MB, free: 8.598 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1583, allocations: 0 / 314 MB, free: 8.598 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008934/0.1592, allocations: 176.5 kB / 314.2 MB, free: 8.574 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.0001481/0.1594, allocations: 112.3 kB / 314.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.1608, allocations: 1.247 MB / 315.6 MB, free: 7.574 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1608, allocations: 0 / 315.6 MB, free: 7.574 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.1619, allocations: 1.063 MB / 316.6 MB, free: 6.727 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.1623, allocations: 84.3 kB / 316.7 MB, free: 6.688 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.1643, allocations: 1.206 MB / 317.9 MB, free: 6.004 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.1646, allocations: 272.8 kB / 318.2 MB, free: 5.906 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.1647, allocations: 51 kB / 318.2 MB, free: 5.895 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.1648, allocations: 34.06 kB / 318.3 MB, free: 5.883 MB / 266.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1648, allocations: 0 / 318.3 MB, free: 5.883 MB / 266.7 MB Notification: Performance of Templates: time 0.01357/0.1784, allocations: 8.541 MB / 326.8 MB, free: 14.29 MB / 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.098456359002739]