Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.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.0009851/0.0009851, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001247/0.001247, allocations: 157.1 kB / 24.99 MB, free: 8.801 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.9632/0.9632, allocations: 177 MB / 205.2 MB, free: 5.609 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.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.644e-05, allocations: 5.125 kB / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.005278/0.005295, allocations: 6.139 MB / 279.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.007663, allocations: 2.18 MB / 281.3 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.007923, allocations: 19.94 kB / 281.3 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.009186, allocations: 0.7848 MB / 282.1 MB, free: 8.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007651/0.009951, allocations: 0.613 MB / 282.7 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.01051, allocations: 0.5298 MB / 283.3 MB, free: 7.441 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007633/0.01128, allocations: 1.234 MB / 284.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007075/0.01198, allocations: 0.761 MB / 285.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005116/0.0125, allocations: 0.6938 MB / 285.9 MB, free: 4.723 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.01287, allocations: 430.7 kB / 286.4 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.01297, allocations: 108 kB / 286.5 MB, free: 4.195 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.01329, allocations: 283.6 kB / 286.8 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.01342, allocations: 259 kB / 287 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002513/0.01367, allocations: 379.1 kB / 287.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007982/0.01447, allocations: 0.9963 MB / 288.4 MB, free: 2.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.01447, allocations: 4 kB / 288.4 MB, free: 2.289 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01447, allocations: 0 / 288.4 MB, free: 2.289 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.01448, allocations: 0 / 288.4 MB, free: 2.289 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002183/0.01667, allocations: 1.794 MB / 290.2 MB, free: 452 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.0167, allocations: 15.98 kB / 290.2 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1013/0.118, allocations: 0.5077 MB / 290.7 MB, free: 28.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007639/0.1188, allocations: 0.5232 MB / 291.2 MB, free: 28.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.1189, allocations: 74.94 kB / 291.3 MB, free: 28.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.119, allocations: 110.2 kB / 291.4 MB, free: 28.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.1201, allocations: 0.8911 MB / 292.3 MB, free: 28.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.1201, allocations: 13.05 kB / 292.3 MB, free: 28.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.628e-05/0.1202, allocations: 41.61 kB / 292.3 MB, free: 28.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.1202, allocations: 24.69 kB / 292.4 MB, free: 28.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007986/0.121, allocations: 466.1 kB / 292.8 MB, free: 28.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/0.124, allocations: 3.144 MB / 296 MB, free: 26.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.1251, allocations: 0.7701 MB / 296.7 MB, free: 25.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/0.1255, allocations: 293.9 kB / 297 MB, free: 25.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.305e-05/0.1256, allocations: 30.84 kB / 297 MB, free: 25.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000476/0.126, allocations: 0.4903 MB / 297.5 MB, free: 25.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.625e-06/0.126, allocations: 0 / 297.5 MB, free: 25.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.002333/0.1284, allocations: 1.157 MB / 298.7 MB, free: 25.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.1284, allocations: 196.3 kB / 298.9 MB, free: 25.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.1288, allocations: 485.2 kB / 299.4 MB, free: 24.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.1288, allocations: 42.52 kB / 299.4 MB, free: 24.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.129, allocations: 480.6 kB / 299.9 MB, free: 24.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.1291, allocations: 285.5 kB / 300.2 MB, free: 24.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.1292, allocations: 161.6 kB / 300.3 MB, free: 24.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.1293, allocations: 0.5433 MB / 300.9 MB, free: 23.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.1296, allocations: 133.7 kB / 301 MB, free: 23.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.1299, allocations: 0.5302 MB / 301.5 MB, free: 23.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.1304, allocations: 0.5641 MB / 302.1 MB, free: 22.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.1304, allocations: 1.375 kB / 302.1 MB, free: 22.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00104/0.1315, allocations: 0.7801 MB / 302.9 MB, free: 22.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1315, allocations: 6.844 kB / 302.9 MB, free: 22.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.1315, allocations: 9 kB / 302.9 MB, free: 22.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005834/0.1321, allocations: 246.7 kB / 303.1 MB, free: 22.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.1323, allocations: 140.3 kB / 303.3 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/0.135, allocations: 5.152 MB / 308.4 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.1353, allocations: 91.53 kB / 308.5 MB, free: 17.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.1353, allocations: 33.53 kB / 308.5 MB, free: 17.73 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.1355, allocations: 222.9 kB / 308.7 MB, free: 17.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.661e-05/0.1356, allocations: 97.48 kB / 308.8 MB, free: 17.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008822/0.1365, allocations: 0.7078 MB / 309.5 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1365, allocations: 7.75 kB / 309.6 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1365, allocations: 0 / 309.6 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1365, allocations: 3.984 kB / 309.6 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.1379, allocations: 1.433 MB / 311 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1379, allocations: 3.984 kB / 311 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.1381, allocations: 95.83 kB / 311.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.1386, allocations: 236.5 kB / 311.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.1386, allocations: 19.98 kB / 311.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.1409, allocations: 5.101 MB / 316.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1409, allocations: 0 / 316.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.1419, allocations: 0.9903 MB / 317.4 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.142, allocations: 139.3 kB / 317.6 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.1421, allocations: 16 kB / 317.6 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.1423, allocations: 44 kB / 317.6 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.1424, allocations: 72.86 kB / 317.7 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.1424, allocations: 23.98 kB / 317.7 MB, free: 8.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001596/0.1426, allocations: 310.8 kB / 318 MB, free: 8.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1426, allocations: 0 / 318 MB, free: 8.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005939/0.1432, allocations: 319.3 kB / 318.3 MB, free: 8.367 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001824/0.1434, allocations: 157.8 kB / 318.5 MB, free: 8.211 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008464/0.1442, allocations: 0.9707 MB / 319.5 MB, free: 7.207 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1442, allocations: 0 / 319.5 MB, free: 7.207 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004604/0.1447, allocations: 0.7378 MB / 320.2 MB, free: 6.434 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.145, allocations: 127.6 kB / 320.3 MB, free: 6.316 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.1468, allocations: 1.558 MB / 321.9 MB, free: 4.723 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.1469, allocations: 187.6 kB / 322.1 MB, free: 4.523 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.147, allocations: 85.19 kB / 322.1 MB, free: 4.441 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.1471, allocations: 56.48 kB / 322.2 MB, free: 4.387 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1471, allocations: 0 / 322.2 MB, free: 4.387 MB / 266.7 MB Notification: Performance of Templates: time 0.01428/0.1614, allocations: 11.84 MB / 334 MB, free: 8.738 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/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.193553934805095]