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.001039/0.001039, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001164/0.001164, allocations: 156.5 kB / 24.55 MB, free: 12 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.041/1.041, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.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.934e-06/1.934e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.695e-05, allocations: 9.266 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003914/0.003941, allocations: 4.209 MB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.005695, allocations: 1.012 MB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003367/0.006032, allocations: 11.94 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.006344, allocations: 102.9 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008094/0.007153, allocations: 210.1 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005707/0.007724, allocations: 199.6 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007642/0.008488, allocations: 0.7747 MB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002637/0.008752, allocations: 151.6 kB / 279.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005779/0.00933, allocations: 435 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.009632, allocations: 251.2 kB / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.355e-05/0.009705, allocations: 60 kB / 280.3 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.009824, allocations: 64 kB / 280.4 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.009961, allocations: 155.3 kB / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.01015, allocations: 223.4 kB / 280.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.01061, allocations: 0.4981 MB / 281.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.01062, allocations: 0 / 281.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01062, allocations: 0 / 281.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.01063, allocations: 0 / 281.3 MB, free: 9.062 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.001081/0.01171, allocations: 0.9553 MB / 282.2 MB, free: 8.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.01176, allocations: 11.98 kB / 282.2 MB, free: 8.059 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002835/0.01204, allocations: 132.5 kB / 282.4 MB, free: 7.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.01244, allocations: 346.4 kB / 282.7 MB, free: 7.562 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.01247, allocations: 37.69 kB / 282.7 MB, free: 7.523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.01253, allocations: 60.27 kB / 282.8 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.01306, allocations: 459.5 kB / 283.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.01307, allocations: 4.125 kB / 283.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.0131, allocations: 24.12 kB / 283.3 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.01312, allocations: 16 kB / 283.3 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.01351, allocations: 253.7 kB / 283.5 MB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.01532, allocations: 2.035 MB / 285.6 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.01583, allocations: 459.6 kB / 286 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004161/0.01625, allocations: 269.6 kB / 286.3 MB, free: 3.836 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.01628, allocations: 8.5 kB / 286.3 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.0163, allocations: 41.89 kB / 286.3 MB, free: 3.777 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 2.324e-06/0.01631, allocations: 0 / 286.3 MB, free: 3.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002284/0.01859, allocations: 1.4 MB / 287.7 MB, free: 2.324 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.01862, allocations: 59.91 kB / 287.8 MB, free: 2.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.01887, allocations: 378.7 kB / 288.2 MB, free: 1.871 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.01889, allocations: 33.7 kB / 288.2 MB, free: 1.832 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.01903, allocations: 288.1 kB / 288.5 MB, free: 1.547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.01914, allocations: 210.2 kB / 288.7 MB, free: 1.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.01924, allocations: 99.95 kB / 288.8 MB, free: 1.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.01938, allocations: 0.5274 MB / 289.3 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.01951, allocations: 81.27 kB / 289.4 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.01967, allocations: 138.5 kB / 289.5 MB, free: 480 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005582/0.02023, allocations: 243.8 kB / 289.7 MB, free: 228 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.02023, allocations: 0 / 289.7 MB, free: 228 kB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.1143/0.1345, allocations: 0.5081 MB / 290.3 MB, free: 25.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.1345, allocations: 5.969 kB / 290.3 MB, free: 25.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1345, allocations: 2.156 kB / 290.3 MB, free: 25.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000617/0.1352, allocations: 222.2 kB / 290.5 MB, free: 25.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.1354, allocations: 59.73 kB / 290.5 MB, free: 25.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004225/0.1396, allocations: 8.855 MB / 299.4 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.1398, allocations: 14.69 kB / 299.4 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.1398, allocations: 15.77 kB / 299.4 MB, free: 17.93 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.0001295/0.14, allocations: 187.3 kB / 299.6 MB, free: 17.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.1401, allocations: 71.8 kB / 299.7 MB, free: 17.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.1401, allocations: 64.94 kB / 299.7 MB, free: 17.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1401, allocations: 6.594 kB / 299.7 MB, free: 17.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.1401, allocations: 2.344 kB / 299.8 MB, free: 17.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1401, allocations: 9.062 kB / 299.8 MB, free: 17.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.1413, allocations: 1.028 MB / 300.8 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1413, allocations: 0 / 300.8 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.1415, allocations: 56.73 kB / 300.8 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004352/0.1419, allocations: 232.9 kB / 301.1 MB, free: 17.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.1419, allocations: 12.22 kB / 301.1 MB, free: 17.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003096/0.145, allocations: 8.857 MB / 309.9 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.145, allocations: 3.938 kB / 309.9 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009014/0.1459, allocations: 0.7836 MB / 310.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.1461, allocations: 84.88 kB / 310.8 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.1461, allocations: 11.91 kB / 310.8 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.1462, allocations: 18.05 kB / 310.8 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/0.1464, allocations: 57.05 kB / 310.9 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.1464, allocations: 15.78 kB / 310.9 MB, free: 8.621 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001939/0.1466, allocations: 255.7 kB / 311.2 MB, free: 8.469 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1466, allocations: 0 / 311.2 MB, free: 8.469 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006453/0.1473, allocations: 175.3 kB / 311.3 MB, free: 8.445 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.0001105/0.1474, allocations: 118.6 kB / 311.4 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009002/0.1483, allocations: 1.102 MB / 312.5 MB, free: 7.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1483, allocations: 1.188 kB / 312.6 MB, free: 7.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005885/0.1489, allocations: 0.9941 MB / 313.5 MB, free: 6.699 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.1492, allocations: 88 kB / 313.6 MB, free: 6.664 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.1509, allocations: 1.151 MB / 314.8 MB, free: 6.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.151, allocations: 146.1 kB / 314.9 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.1511, allocations: 49.94 kB / 315 MB, free: 5.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.1512, allocations: 33.55 kB / 315 MB, free: 5.918 MB / 266.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1512, allocations: 0 / 315 MB, free: 5.918 MB / 266.7 MB Notification: Performance of Templates: time 0.01065/0.1618, allocations: 8.906 MB / 323.9 MB, free: 492 kB / 266.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","",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.375667104963213]