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.001268/0.001268, allocations: 75.75 kB / 21.24 MB, free: 396 kB / 14.72 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.001517/0.001517, allocations: 163.2 kB / 24.5 MB, free: 3.449 MB / 14.72 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.451/1.451, allocations: 177.1 MB / 204.7 MB, free: 8.996 MB / 190.1 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 0.001886/0.001886, allocations: 62.14 kB / 325.6 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1265, allocations: 53.38 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005781/0.1323, allocations: 3.86 MB / 382.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.1344, allocations: 0.9814 MB / 383.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.1346, allocations: 8 kB / 383.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.1348, allocations: 95 kB / 383.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005306/0.1354, allocations: 206.2 kB / 384.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.1358, allocations: 195.7 kB / 384.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000823/0.1366, allocations: 0.7439 MB / 385 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002973/0.1369, allocations: 143.7 kB / 385.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004233/0.1373, allocations: 302.9 kB / 385.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000417/0.1378, allocations: 294.5 kB / 385.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.697e-05/0.1379, allocations: 60 kB / 385.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.138, allocations: 64 kB / 385.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.1382, allocations: 147.5 kB / 386 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002882/0.1385, allocations: 270.7 kB / 386.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008234/0.1393, allocations: 0.7351 MB / 387 MB, free: 7.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1393, allocations: 0 / 387 MB, free: 7.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1393, allocations: 0 / 387 MB, free: 7.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1393, allocations: 4 kB / 387 MB, free: 7.344 MB / 350.1 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.001567/0.1409, allocations: 0.8593 MB / 387.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1409, allocations: 11.98 kB / 387.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/0.1413, allocations: 100.5 kB / 388 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.1419, allocations: 336.4 kB / 388.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/0.1419, allocations: 45.62 kB / 388.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.537e-05/0.142, allocations: 56.33 kB / 388.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009448/0.143, allocations: 0.5493 MB / 389 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.143, allocations: 0 / 389 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.143, allocations: 20 kB / 389 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.143, allocations: 12 kB / 389 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008878/0.1439, allocations: 451.6 kB / 389.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.1467, allocations: 1.789 MB / 391.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009181/0.1476, allocations: 0.5112 MB / 391.7 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/0.1482, allocations: 366.3 kB / 392.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.1482, allocations: 4.5 kB / 392.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.1483, allocations: 39.06 kB / 392.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.843e-06/0.1483, allocations: 0 / 392.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004353/0.1526, allocations: 1.725 MB / 393.9 MB, free: 276 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.1527, allocations: 55.91 kB / 393.9 MB, free: 208 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/0.1531, allocations: 337.7 kB / 394.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.1531, allocations: 37.7 kB / 394.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.1533, allocations: 245.3 kB / 394.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.1535, allocations: 210.2 kB / 394.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.1536, allocations: 90.3 kB / 394.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.1538, allocations: 358.8 kB / 395.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.1542, allocations: 173.2 kB / 395.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.1546, allocations: 212.8 kB / 395.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007188/0.1553, allocations: 386.1 kB / 395.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1553, allocations: 0 / 395.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001226/0.1565, allocations: 0.6602 MB / 396.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.1565, allocations: 6.812 kB / 396.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1565, allocations: 0 / 396.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007286/0.1573, allocations: 259.2 kB / 396.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.1576, allocations: 59.91 kB / 396.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007146/0.1647, allocations: 6.939 MB / 403.8 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.165, allocations: 15.98 kB / 403.8 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.165, allocations: 16 kB / 403.9 MB, free: 5.777 MB / 366.1 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.0002644/0.1653, allocations: 178 kB / 404 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/0.1654, allocations: 47.72 kB / 404.1 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.1655, allocations: 64.86 kB / 404.1 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.1655, allocations: 8 kB / 404.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.1655, allocations: 0 / 404.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.1655, allocations: 3.984 kB / 404.2 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.1677, allocations: 1.179 MB / 405.3 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1677, allocations: 4.125 kB / 405.3 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.1679, allocations: 59.95 kB / 405.4 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000698/0.1686, allocations: 259.1 kB / 405.6 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.1687, allocations: 8 kB / 405.7 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007071/0.1757, allocations: 6.955 MB / 412.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1757, allocations: 128 / 412.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.178, allocations: 1.017 MB / 413.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.1782, allocations: 83.59 kB / 413.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.1783, allocations: 12 kB / 413.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.1786, allocations: 19.98 kB / 413.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/0.1788, allocations: 56.41 kB / 413.8 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.1788, allocations: 15.98 kB / 413.8 MB, free: 11.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003878/0.1792, allocations: 243.2 kB / 414 MB, free: 11.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1792, allocations: 0 / 414 MB, free: 11.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00108/0.1803, allocations: 172 kB / 414.2 MB, free: 10.91 MB / 382.1 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.0001919/0.1805, allocations: 114.8 kB / 414.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001842/0.1823, allocations: 1.002 MB / 415.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1823, allocations: 4.062 kB / 415.3 MB, free: 9.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.1836, allocations: 0.833 MB / 416.2 MB, free: 8.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000583/0.1842, allocations: 85.64 kB / 416.3 MB, free: 8.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.187, allocations: 1.27 MB / 417.5 MB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.1874, allocations: 279.6 kB / 417.8 MB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001929/0.1876, allocations: 52.36 kB / 417.8 MB, free: 7.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.1877, allocations: 28.48 kB / 417.9 MB, free: 7.082 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1877, allocations: 0 / 417.9 MB, free: 7.082 MB / 382.1 MB Notification: Performance of Templates: time 0.01823/0.2059, allocations: 8.402 MB / 426.3 MB, free: 14.78 MB / 398.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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: 4.9882796900346875]