Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 156.9 kB / 24.48 MB, free: 3.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 173.4 MB / 201.1 MB, free: 12.72 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 46.7 kB / 319.4 MB, free: 3.461 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.09106, allocations: 52.17 MB / 371.6 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005505/0.09657, allocations: 3.821 MB / 375.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.09848, allocations: 0.8996 MB / 376.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002672/0.09875, allocations: 8 kB / 376.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.09906, allocations: 102.9 kB / 376.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006001/0.09966, allocations: 206.3 kB / 376.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.1001, allocations: 159.7 kB / 376.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008417/0.1009, allocations: 0.7283 MB / 377.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003338/0.1012, allocations: 147.7 kB / 377.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.1016, allocations: 286.9 kB / 377.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004322/0.102, allocations: 290.5 kB / 378.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.38e-05/0.1021, allocations: 64 kB / 378.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1022, allocations: 60 kB / 378.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.1024, allocations: 143.5 kB / 378.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.1027, allocations: 278.7 kB / 378.8 MB, free: 296 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008157/0.1035, allocations: 0.7236 MB / 379.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1035, allocations: 4 kB / 379.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1035, allocations: 0 / 379.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1035, allocations: 0 / 379.5 MB, free: 15.55 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.001514/0.105, allocations: 0.8438 MB / 380.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1051, allocations: 16.92 kB / 380.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.1052, allocations: 68.52 kB / 380.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.1058, allocations: 328.3 kB / 380.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.1058, allocations: 37.69 kB / 380.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-05/0.1059, allocations: 56.31 kB / 380.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009547/0.1068, allocations: 0.5416 MB / 381.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.1069, allocations: 3.938 kB / 381.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.1069, allocations: 24 kB / 381.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.1069, allocations: 16 kB / 381.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008814/0.1078, allocations: 439.7 kB / 381.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/0.1106, allocations: 1.781 MB / 383.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009013/0.1115, allocations: 0.519 MB / 384.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000599/0.1121, allocations: 374.3 kB / 384.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.1122, allocations: 8.5 kB / 384.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.1122, allocations: 39 kB / 384.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.294e-06/0.1122, allocations: 0 / 384.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004376/0.1166, allocations: 1.721 MB / 386.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.1166, allocations: 55.91 kB / 386.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.117, allocations: 333.7 kB / 386.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.117, allocations: 37.7 kB / 386.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1172, allocations: 237.3 kB / 386.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.1174, allocations: 210.2 kB / 387.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.1175, allocations: 102.2 kB / 387.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1177, allocations: 350.8 kB / 387.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.118, allocations: 165.2 kB / 387.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.1184, allocations: 216.8 kB / 387.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000718/0.1191, allocations: 382.1 kB / 388.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1191, allocations: 0 / 388.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001273/0.1204, allocations: 0.6486 MB / 389 MB, free: 5.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1204, allocations: 15.97 kB / 389 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1204, allocations: 0 / 389 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007423/0.1212, allocations: 255.1 kB / 389.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.1215, allocations: 63.91 kB / 389.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007162/0.1286, allocations: 6.942 MB / 396.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.1289, allocations: 16.16 kB / 396.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.129, allocations: 24.11 kB / 396.3 MB, free: 14.05 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.0002518/0.1292, allocations: 177.9 kB / 396.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.968e-05/0.1293, allocations: 55.59 kB / 396.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.1295, allocations: 60.75 kB / 396.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1295, allocations: 8 kB / 396.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.1295, allocations: 0 / 396.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1295, allocations: 3.984 kB / 396.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.1316, allocations: 1.167 MB / 397.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1316, allocations: 0 / 397.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.1319, allocations: 59.89 kB / 397.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000713/0.1326, allocations: 259.2 kB / 398 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.1326, allocations: 12 kB / 398.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006823/0.1395, allocations: 6.942 MB / 405 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1395, allocations: 0 / 405 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.1413, allocations: 1.017 MB / 406 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.1415, allocations: 83.64 kB / 406.1 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.1415, allocations: 12.22 kB / 406.1 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.1418, allocations: 23.92 kB / 406.1 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.1419, allocations: 56.34 kB / 406.2 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.1419, allocations: 15.98 kB / 406.2 MB, free: 3.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002583/0.1422, allocations: 235.2 kB / 406.4 MB, free: 3.375 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1422, allocations: 4 kB / 406.4 MB, free: 3.371 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008861/0.1431, allocations: 172 kB / 406.6 MB, free: 3.203 MB / 366.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.000144/0.1432, allocations: 115.2 kB / 406.7 MB, free: 3.082 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.1449, allocations: 1.009 MB / 407.7 MB, free: 2.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1449, allocations: 0 / 407.7 MB, free: 2.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.1461, allocations: 0.8215 MB / 408.5 MB, free: 1.148 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.1465, allocations: 76.48 kB / 408.6 MB, free: 1.078 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.1488, allocations: 1.283 MB / 409.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1491, allocations: 275.5 kB / 410.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.1492, allocations: 48.34 kB / 410.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.1493, allocations: 28.5 kB / 410.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1493, allocations: 3.938 kB / 410.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of Templates: time 0.01597/0.1653, allocations: 8.365 MB / 418.6 MB, free: 7.117 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.726325249997899]