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.001065/0.001065, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009945/0.0009945, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.065/1.065, allocations: 177.1 MB / 205 MB, free: 5.27 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.423e-06/1.423e-06, allocations: 0 / 273 MB, free: 1.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.408e-05, allocations: 2.312 kB / 273 MB, free: 1.352 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003806/0.00383, allocations: 4.205 MB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.005221, allocations: 1.005 MB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.00542, allocations: 11.94 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.00563, allocations: 102.9 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.006045, allocations: 210.1 kB / 278.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.006372, allocations: 195.6 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005931/0.006965, allocations: 0.763 MB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.007238, allocations: 155.6 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.007706, allocations: 431 kB / 280.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.008008, allocations: 243.3 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.185e-05/0.00808, allocations: 60 kB / 280.4 MB, free: 9.961 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.008185, allocations: 64 kB / 280.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.008308, allocations: 155.3 kB / 280.6 MB, free: 9.746 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.008473, allocations: 231.4 kB / 280.8 MB, free: 9.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.008911, allocations: 498.1 kB / 281.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.008914, allocations: 4 kB / 281.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.008916, allocations: 0 / 281.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.008925, allocations: 3.984 kB / 281.3 MB, free: 9.023 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.001039/0.009965, allocations: 0.9553 MB / 282.3 MB, free: 8.031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.01001, allocations: 8.031 kB / 282.3 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/0.01026, allocations: 132.5 kB / 282.4 MB, free: 7.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.01064, allocations: 342.5 kB / 282.7 MB, free: 7.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.01068, allocations: 37.69 kB / 282.8 MB, free: 7.492 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-05/0.01075, allocations: 56.27 kB / 282.8 MB, free: 7.438 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/0.01132, allocations: 467.5 kB / 283.3 MB, free: 6.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.01134, allocations: 4.125 kB / 283.3 MB, free: 6.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.01137, allocations: 24.12 kB / 283.3 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.01139, allocations: 15.98 kB / 283.3 MB, free: 6.898 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.01178, allocations: 253.8 kB / 283.6 MB, free: 6.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.01362, allocations: 2.039 MB / 285.6 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/0.01413, allocations: 452.5 kB / 286 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.01442, allocations: 273.6 kB / 286.3 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.01446, allocations: 12.48 kB / 286.3 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.01449, allocations: 41.89 kB / 286.4 MB, free: 3.742 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 1.783e-06/0.01449, allocations: 0 / 286.4 MB, free: 3.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002348/0.01684, allocations: 1.4 MB / 287.8 MB, free: 2.289 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.01687, allocations: 55.91 kB / 287.8 MB, free: 2.223 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.01715, allocations: 378.7 kB / 288.2 MB, free: 1.836 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.01718, allocations: 37.7 kB / 288.2 MB, free: 1.793 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.01731, allocations: 284.1 kB / 288.5 MB, free: 1.512 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.01742, allocations: 206.2 kB / 288.7 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.01752, allocations: 99.95 kB / 288.8 MB, free: 1.199 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.01769, allocations: 0.5235 MB / 289.3 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.01783, allocations: 89.25 kB / 289.4 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.018, allocations: 138.5 kB / 289.5 MB, free: 444 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.01829, allocations: 243.8 kB / 289.8 MB, free: 192 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.0183, allocations: 0 / 289.8 MB, free: 192 kB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.1436/0.1619, allocations: 0.5054 MB / 290.3 MB, free: 25.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.162, allocations: 4.75 kB / 290.3 MB, free: 25.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.162, allocations: 2.188 kB / 290.3 MB, free: 25.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005849/0.1626, allocations: 219.2 kB / 290.5 MB, free: 25.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.1628, allocations: 60.28 kB / 290.6 MB, free: 25.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004177/0.167, allocations: 8.86 MB / 299.4 MB, free: 17.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.1671, allocations: 19.55 kB / 299.4 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.1672, allocations: 21.12 kB / 299.5 MB, free: 17.86 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.0001328/0.1673, allocations: 181.5 kB / 299.6 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/0.1674, allocations: 68.53 kB / 299.7 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.1674, allocations: 63.28 kB / 299.8 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1674, allocations: 6.281 kB / 299.8 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1674, allocations: 1.438 kB / 299.8 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.1674, allocations: 9.125 kB / 299.8 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.1686, allocations: 1.033 MB / 300.8 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1686, allocations: 2.953 kB / 300.8 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.1688, allocations: 49.17 kB / 300.9 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004029/0.1692, allocations: 228.7 kB / 301.1 MB, free: 17.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.1692, allocations: 11.98 kB / 301.1 MB, free: 17.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003584/0.1728, allocations: 8.864 MB / 310 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1728, allocations: 2.109 kB / 310 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008856/0.1737, allocations: 0.7863 MB / 310.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.1738, allocations: 84.56 kB / 310.8 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.1738, allocations: 10.95 kB / 310.9 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.1739, allocations: 15.31 kB / 310.9 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.1741, allocations: 60.77 kB / 310.9 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.1741, allocations: 19.28 kB / 311 MB, free: 8.645 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.1743, allocations: 256.7 kB / 311.2 MB, free: 8.492 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1743, allocations: 0 / 311.2 MB, free: 8.492 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006332/0.1749, allocations: 180.6 kB / 311.4 MB, free: 8.465 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.0001057/0.175, allocations: 110.9 kB / 311.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009382/0.176, allocations: 1.105 MB / 312.6 MB, free: 7.543 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.176, allocations: 0 / 312.6 MB, free: 7.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006786/0.1767, allocations: 0.9923 MB / 313.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.00039/0.177, allocations: 82.61 kB / 313.7 MB, free: 6.691 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.1788, allocations: 1.148 MB / 314.8 MB, free: 6.047 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.1789, allocations: 149 kB / 315 MB, free: 5.965 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.179, allocations: 45.94 kB / 315 MB, free: 5.957 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.1791, allocations: 33.39 kB / 315 MB, free: 5.945 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1791, allocations: 0 / 315 MB, free: 5.945 MB / 266.7 MB Notification: Performance of Templates: time 0.01117/0.1903, allocations: 8.562 MB / 323.6 MB, free: 0.9062 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.6091290777549148]