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.001225/0.001225, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001511/0.001511, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 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 0.9636/0.9636, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.442e-06/1.442e-06, allocations: 0 / 273.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.24e-05, allocations: 2.312 kB / 273.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.007874/0.007896, allocations: 4.148 MB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004841/0.01274, allocations: 1.043 MB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.01294, allocations: 11.94 kB / 278.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.01317, allocations: 95.06 kB / 278.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005176/0.01369, allocations: 218 kB / 279 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00344/0.01713, allocations: 191.6 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006612/0.01779, allocations: 0.7591 MB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.01802, allocations: 152.3 kB / 280.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004525/0.01848, allocations: 439 kB / 280.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.01877, allocations: 251.2 kB / 280.8 MB, free: 9.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.207e-05/0.01884, allocations: 60 kB / 280.8 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.01896, allocations: 64 kB / 280.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.0191, allocations: 151.4 kB / 281 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.01932, allocations: 227.4 kB / 281.2 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.02188, allocations: 0.4981 MB / 281.7 MB, free: 8.844 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.02189, allocations: 0 / 281.7 MB, free: 8.844 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.02189, allocations: 0 / 281.7 MB, free: 8.844 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.034e-05/0.02191, allocations: 0 / 281.7 MB, free: 8.844 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.001172/0.02308, allocations: 0.8422 MB / 282.6 MB, free: 7.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.02311, allocations: 8.031 kB / 282.6 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.02342, allocations: 112.8 kB / 282.7 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.02382, allocations: 271.7 kB / 283 MB, free: 7.562 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.02385, allocations: 37.69 kB / 283 MB, free: 7.527 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.112e-05/0.02392, allocations: 52.38 kB / 283.1 MB, free: 7.477 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005475/0.02447, allocations: 431.5 kB / 283.5 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.02449, allocations: 192 / 283.5 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.02453, allocations: 24.12 kB / 283.5 MB, free: 7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.02454, allocations: 12 kB / 283.5 MB, free: 6.988 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.0249, allocations: 186.8 kB / 283.7 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.0269, allocations: 1.446 MB / 285.1 MB, free: 5.309 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.02745, allocations: 385.7 kB / 285.5 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.02777, allocations: 207 kB / 285.7 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.0278, allocations: 16.44 kB / 285.7 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.02783, allocations: 39.06 kB / 285.8 MB, free: 4.648 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 2.254e-06/0.02783, allocations: 0 / 285.8 MB, free: 4.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002661/0.0305, allocations: 1.129 MB / 286.9 MB, free: 3.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.03053, allocations: 67.78 kB / 287 MB, free: 3.395 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.03079, allocations: 303.4 kB / 287.3 MB, free: 3.086 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.03082, allocations: 33.7 kB / 287.3 MB, free: 3.047 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.03094, allocations: 209.9 kB / 287.5 MB, free: 2.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.03108, allocations: 214.1 kB / 287.7 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.03121, allocations: 94.25 kB / 287.8 MB, free: 2.531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.03133, allocations: 362.7 kB / 288.2 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.03145, allocations: 53.28 kB / 288.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.0316, allocations: 100.9 kB / 288.3 MB, free: 2.012 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.03191, allocations: 200.8 kB / 288.5 MB, free: 1.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.03191, allocations: 0 / 288.5 MB, free: 1.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006392/0.03255, allocations: 380.4 kB / 288.9 MB, free: 1.418 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.03257, allocations: 4 kB / 288.9 MB, free: 1.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.03258, allocations: 3.984 kB / 288.9 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005404/0.03312, allocations: 195.1 kB / 289.1 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.03334, allocations: 63.94 kB / 289.1 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1052/0.1386, allocations: 6.018 MB / 295.2 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.1387, allocations: 18.14 kB / 295.2 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.1388, allocations: 13.52 kB / 295.2 MB, free: 21.29 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.0001122/0.1389, allocations: 140.4 kB / 295.3 MB, free: 21.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.1389, allocations: 53.55 kB / 295.4 MB, free: 21.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.139, allocations: 65.78 kB / 295.4 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.139, allocations: 5.438 kB / 295.4 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.139, allocations: 3.906 kB / 295.4 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.139, allocations: 3.375 kB / 295.5 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008063/0.1398, allocations: 0.7158 MB / 296.2 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1398, allocations: 0 / 296.2 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.1399, allocations: 62.17 kB / 296.2 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003188/0.1402, allocations: 200.4 kB / 296.4 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.1403, allocations: 12.23 kB / 296.4 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002528/0.1428, allocations: 6.044 MB / 302.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1428, allocations: 1.5 kB / 302.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.1434, allocations: 0.5847 MB / 303.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.1435, allocations: 52.64 kB / 303.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.1435, allocations: 11.83 kB / 303.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1436, allocations: 12.98 kB / 303.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.579e-05/0.1437, allocations: 61.97 kB / 303.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.1437, allocations: 10.23 kB / 303.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1438, allocations: 130.4 kB / 303.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1438, allocations: 4.75 kB / 303.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005366/0.1443, allocations: 173.5 kB / 303.5 MB, free: 15.55 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.0001018/0.1444, allocations: 94.44 kB / 303.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000621/0.1451, allocations: 0.8187 MB / 304.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1451, allocations: 3.906 kB / 304.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004431/0.1455, allocations: 0.7416 MB / 305.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.1458, allocations: 88.03 kB / 305.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.1471, allocations: 1.074 MB / 306.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.1472, allocations: 150.6 kB / 306.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001/0.1473, allocations: 34.7 kB / 306.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.1475, allocations: 124.8 kB / 306.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1475, allocations: 0 / 306.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of Templates: time 0.01077/0.1582, allocations: 8.961 MB / 315.6 MB, free: 9.383 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.093084285967052]