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.003075/0.003075, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001093/0.001093, allocations: 158.5 kB / 24.91 MB, free: 8.719 MB / 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 0.9537/0.9537, allocations: 177 MB / 205.2 MB, free: 5.027 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.503e-06/1.503e-06, allocations: 0 / 273.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.416e-05, allocations: 5.266 kB / 273.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003998/0.004023, allocations: 4.189 MB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.005275, allocations: 1.043 MB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.005434, allocations: 15.94 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.005671, allocations: 99 kB / 278.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.005996, allocations: 202.1 kB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.00624, allocations: 199.6 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007482/0.006988, allocations: 0.7747 MB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.00719, allocations: 160.2 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003423/0.007533, allocations: 435 kB / 280.6 MB, free: 9.844 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.007778, allocations: 239.3 kB / 280.8 MB, free: 9.609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.833e-05/0.007837, allocations: 64 kB / 280.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.007933, allocations: 71.98 kB / 280.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.601e-05/0.008029, allocations: 147.4 kB / 281.1 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.008166, allocations: 235.3 kB / 281.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.008513, allocations: 0.4903 MB / 281.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.008515, allocations: 0 / 281.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.008516, allocations: 3.938 kB / 281.8 MB, free: 8.605 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.008521, allocations: 0 / 281.8 MB, free: 8.605 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.0007642/0.009285, allocations: 0.8344 MB / 282.6 MB, free: 7.742 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.009313, allocations: 15.98 kB / 282.6 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.009509, allocations: 112.8 kB / 282.7 MB, free: 7.617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.009777, allocations: 275.7 kB / 283 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.009803, allocations: 37.69 kB / 283.1 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.00985, allocations: 56.36 kB / 283.1 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.0102, allocations: 423.5 kB / 283.5 MB, free: 6.785 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.01021, allocations: 4.172 kB / 283.5 MB, free: 6.781 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.01024, allocations: 28.12 kB / 283.6 MB, free: 6.754 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.01025, allocations: 16 kB / 283.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.01046, allocations: 182.8 kB / 283.7 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.01169, allocations: 1.438 MB / 285.2 MB, free: 5.066 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.01205, allocations: 397.4 kB / 285.6 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.01224, allocations: 214.9 kB / 285.8 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.01226, allocations: 16.44 kB / 285.8 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.01229, allocations: 43 kB / 285.8 MB, free: 4.383 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 1.583e-06/0.01229, allocations: 0 / 285.8 MB, free: 4.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.001888/0.01418, allocations: 1.125 MB / 287 MB, free: 3.215 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.01421, allocations: 59.84 kB / 287 MB, free: 3.145 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.01437, allocations: 307.4 kB / 287.3 MB, free: 2.832 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.01439, allocations: 37.7 kB / 287.4 MB, free: 2.789 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.01447, allocations: 201.9 kB / 287.6 MB, free: 2.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.9e-05/0.01456, allocations: 214.1 kB / 287.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.418e-05/0.01465, allocations: 94.25 kB / 287.9 MB, free: 2.281 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.01473, allocations: 358.7 kB / 288.2 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.0148, allocations: 61.22 kB / 288.3 MB, free: 1.859 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.293e-05/0.01489, allocations: 100.8 kB / 288.4 MB, free: 1.758 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.01508, allocations: 204.8 kB / 288.6 MB, free: 1.551 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01508, allocations: 4 kB / 288.6 MB, free: 1.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003716/0.01545, allocations: 376.4 kB / 288.9 MB, free: 1.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.01546, allocations: 8 kB / 288.9 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.01547, allocations: 0 / 288.9 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/0.01579, allocations: 191.2 kB / 289.1 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.01597, allocations: 71.88 kB / 289.2 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1079/0.1239, allocations: 6.017 MB / 295.2 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1241, allocations: 14.61 kB / 295.2 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.1241, allocations: 15.55 kB / 295.2 MB, free: 20.98 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.0001326/0.1243, allocations: 144.8 kB / 295.4 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.663e-05/0.1243, allocations: 47.88 kB / 295.4 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.836e-05/0.1244, allocations: 64.73 kB / 295.5 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.1244, allocations: 5.375 kB / 295.5 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.1244, allocations: 2.094 kB / 295.5 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1244, allocations: 4.609 kB / 295.5 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.1255, allocations: 0.7128 MB / 296.2 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1255, allocations: 1.188 kB / 296.2 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.1257, allocations: 67.36 kB / 296.3 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004118/0.1261, allocations: 209.9 kB / 296.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.1261, allocations: 15.05 kB / 296.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002854/0.129, allocations: 6.04 MB / 302.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.129, allocations: 2.125 kB / 302.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007084/0.1297, allocations: 0.5852 MB / 303.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1298, allocations: 58.88 kB / 303.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.1299, allocations: 13.62 kB / 303.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.13, allocations: 18.2 kB / 303.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.1301, allocations: 59.11 kB / 303.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.1301, allocations: 11.41 kB / 303.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.1303, allocations: 126.8 kB / 303.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1303, allocations: 0 / 303.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007349/0.131, allocations: 172.6 kB / 303.6 MB, free: 15.23 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 9.843e-05/0.1311, allocations: 94.48 kB / 303.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007529/0.1319, allocations: 0.822 MB / 304.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.1319, allocations: 2.406 kB / 304.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000539/0.1324, allocations: 0.7494 MB / 305.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.1327, allocations: 86.8 kB / 305.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.1344, allocations: 1.069 MB / 306.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.1345, allocations: 146.9 kB / 306.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.1347, allocations: 34.61 kB / 306.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.1348, allocations: 128.6 kB / 306.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1348, allocations: 0 / 306.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Templates: time 0.01142/0.1463, allocations: 9.05 MB / 315.8 MB, free: 8.996 MB / 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 -s gbode -gbm=radauIIA3 -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: 2.979153885040432]