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.0008908/0.0008908, allocations: 88.73 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.0008729/0.0008729, allocations: 161.9 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.8395/0.8395, allocations: 177 MB / 205.2 MB, free: 4.43 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.082e-06/1.082e-06, allocations: 3.938 kB / 273.4 MB, free: 4.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.847e-06/9.929e-06, allocations: 8.141 kB / 273.4 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.004746/0.004756, allocations: 6.025 MB / 279.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.007354, allocations: 2.25 MB / 281.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.007622, allocations: 27.88 kB / 281.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000951/0.008573, allocations: 0.7847 MB / 282.5 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008/0.009373, allocations: 0.6246 MB / 283.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.009961, allocations: 0.5258 MB / 283.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009848/0.01095, allocations: 1.23 MB / 284.9 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006292/0.01157, allocations: 0.8001 MB / 285.7 MB, free: 7.941 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004852/0.01206, allocations: 0.7055 MB / 286.4 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000357/0.01242, allocations: 426.7 kB / 286.8 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.299e-05/0.01251, allocations: 108 kB / 286.9 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003058/0.01282, allocations: 283.6 kB / 287.2 MB, free: 6.434 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.01295, allocations: 255 kB / 287.4 MB, free: 6.184 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.01318, allocations: 383 kB / 287.8 MB, free: 5.809 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007048/0.01388, allocations: 0.9924 MB / 288.8 MB, free: 4.812 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.01388, allocations: 0 / 288.8 MB, free: 4.812 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01388, allocations: 0 / 288.8 MB, free: 4.812 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.01389, allocations: 0 / 288.8 MB, free: 4.812 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.001426/0.01531, allocations: 1.396 MB / 290.2 MB, free: 3.387 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.01534, allocations: 12.03 kB / 290.2 MB, free: 3.375 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.01659, allocations: 0.5159 MB / 290.7 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/0.0172, allocations: 387 kB / 291.1 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.01724, allocations: 78.38 kB / 291.2 MB, free: 2.375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.785e-05/0.01733, allocations: 104.4 kB / 291.3 MB, free: 2.273 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/0.01799, allocations: 0.8242 MB / 292.1 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.01801, allocations: 192 / 292.1 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/0.01806, allocations: 44.12 kB / 292.1 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.01807, allocations: 24 kB / 292.1 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.01846, allocations: 325.7 kB / 292.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.02075, allocations: 2.415 MB / 294.9 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007402/0.02149, allocations: 0.6552 MB / 295.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.02178, allocations: 258.4 kB / 295.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.024e-05/0.02184, allocations: 32.58 kB / 295.8 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003142/0.02215, allocations: 455.5 kB / 296.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of pre-optimization done (n=84): time 1.733e-06/0.02216, allocations: 0 / 296.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=84): time 0.001623/0.02378, allocations: 0.952 MB / 297.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.02384, allocations: 201 kB / 297.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.02406, allocations: 419 kB / 297.8 MB, free: 11.42 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.0241, allocations: 45.69 kB / 297.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/0.02447, allocations: 377.7 kB / 298.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.0246, allocations: 293.4 kB / 298.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.02473, allocations: 158.5 kB / 298.7 MB, free: 10.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.02482, allocations: 382.6 kB / 299 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.02493, allocations: 85.95 kB / 299.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.02515, allocations: 414.1 kB / 299.5 MB, free: 9.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.02551, allocations: 459.9 kB / 300 MB, free: 9.035 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.02551, allocations: 0 / 300 MB, free: 9.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0005943/0.02611, allocations: 0.5573 MB / 300.5 MB, free: 8.465 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.02612, allocations: 12.09 kB / 300.6 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.02612, allocations: 4 kB / 300.6 MB, free: 8.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004598/0.02658, allocations: 237.3 kB / 300.8 MB, free: 8.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.02684, allocations: 135.8 kB / 300.9 MB, free: 8.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.02901, allocations: 3.59 MB / 304.5 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.02923, allocations: 87.5 kB / 304.6 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.02926, allocations: 24 kB / 304.6 MB, free: 4.211 MB / 282.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.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.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.0001573/0.02942, allocations: 177.8 kB / 304.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.02949, allocations: 67.94 kB / 304.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008457/0.03033, allocations: 0.5432 MB / 305.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.03034, allocations: 8 kB / 305.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.03034, allocations: 0 / 305.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.03034, allocations: 3.984 kB / 305.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.03138, allocations: 0.9784 MB / 306.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.03139, allocations: 4.031 kB / 306.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.03158, allocations: 87.89 kB / 306.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004004/0.03198, allocations: 209.5 kB / 306.7 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.03201, allocations: 19.98 kB / 306.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.03402, allocations: 3.558 MB / 310.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.03403, allocations: 0 / 310.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007147/0.03474, allocations: 0.7106 MB / 311 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.03487, allocations: 99.3 kB / 311.1 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.03493, allocations: 20 kB / 311.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.03511, allocations: 39.91 kB / 311.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.03519, allocations: 72.86 kB / 311.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.03521, allocations: 20 kB / 311.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.03532, allocations: 176.4 kB / 311.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03532, allocations: 0 / 311.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005121/0.03584, allocations: 315.3 kB / 311.7 MB, free: 12.86 MB / 298.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,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.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.00015/0.03599, allocations: 136.3 kB / 311.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008744/0.03686, allocations: 0.7616 MB / 312.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.03687, allocations: 12 kB / 312.6 MB, free: 11.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004136/0.03728, allocations: 0.5747 MB / 313.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.03758, allocations: 118.1 kB / 313.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.03921, allocations: 1.533 MB / 314.8 MB, free: 9.629 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.03932, allocations: 192.6 kB / 315 MB, free: 9.418 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000162/0.03949, allocations: 77.2 kB / 315.1 MB, free: 9.344 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.03971, allocations: 181.3 kB / 315.3 MB, free: 9.168 MB / 298.7 MB Notification: Performance of SimCode: time 7.42e-07/0.03971, allocations: 4 kB / 315.3 MB, free: 9.164 MB / 298.7 MB Notification: Performance of Templates: time 0.01395/0.05366, allocations: 12.48 MB / 327.8 MB, free: 12.87 MB / 314.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: 2.7362481132149696]