Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 209.2 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.227/2.227, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4376, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.01104/0.4486, allocations: 5.607 MB / 437.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006113/0.4547, allocations: 2.11 MB / 440.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.4552, allocations: 23.88 kB / 440.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00213/0.4573, allocations: 0.7149 MB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.459, allocations: 0.5854 MB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.4603, allocations: 0.5221 MB / 441.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.4618, allocations: 1.191 MB / 443.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.4631, allocations: 0.7725 MB / 443.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006809/0.4638, allocations: 482.3 kB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008786/0.4646, allocations: 0.5445 MB / 444.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002291/0.4649, allocations: 116 kB / 445 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007433/0.4656, allocations: 275.8 kB / 445.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.4659, allocations: 251.1 kB / 445.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000667/0.4666, allocations: 457.9 kB / 446 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002396/0.469, allocations: 1.498 MB / 447.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.469, allocations: 0 / 447.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.469, allocations: 0 / 447.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.469, allocations: 0 / 447.5 MB, free: 7.547 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.008279/0.4773, allocations: 1.67 MB / 449.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.4773, allocations: 12.02 kB / 449.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00423/0.4816, allocations: 391.8 kB / 449.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/0.492, allocations: 0.525 MB / 450 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.4921, allocations: 74.38 kB / 450.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/0.4924, allocations: 104.3 kB / 450.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/0.4956, allocations: 1.12 MB / 451.3 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.972e-05/0.4956, allocations: 3.984 kB / 451.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.4958, allocations: 47.94 kB / 451.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/0.4958, allocations: 24 kB / 451.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003021/0.4988, allocations: 0.8472 MB / 452.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01989/0.5187, allocations: 2.964 MB / 455.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003058/0.5218, allocations: 0.8514 MB / 456.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01135/0.5331, allocations: 403.5 kB / 456.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.5333, allocations: 20.64 kB / 456.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001635/0.5349, allocations: 0.5933 MB / 457.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 4.539e-06/0.535, allocations: 0 / 457.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.01696/0.5519, allocations: 1.477 MB / 458.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/0.5521, allocations: 196.9 kB / 458.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009392/0.553, allocations: 457.9 kB / 459.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.5531, allocations: 45.7 kB / 459.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005375/0.5537, allocations: 428.7 kB / 459.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004193/0.5541, allocations: 289.5 kB / 459.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004267/0.5545, allocations: 162.5 kB / 460.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002866/0.5548, allocations: 374.7 kB / 460.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.5558, allocations: 269.9 kB / 460.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.5572, allocations: 0.5801 MB / 461.3 MB, free: 9.164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/0.5596, allocations: 0.7395 MB / 462 MB, free: 8.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.5596, allocations: 0 / 462 MB, free: 8.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01509/0.5747, allocations: 1.018 MB / 463.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.5747, allocations: 8 kB / 463.1 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.5747, allocations: 8 kB / 463.1 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.5763, allocations: 255.6 kB / 463.3 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009843/0.5773, allocations: 151.7 kB / 463.5 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01864/0.596, allocations: 4.563 MB / 468 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.597, allocations: 99.55 kB / 468.1 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.5971, allocations: 35.98 kB / 468.2 MB, free: 2.016 MB / 366.1 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.000626/0.5978, allocations: 241.6 kB / 468.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.598, allocations: 67.58 kB / 468.5 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009489/0.6074, allocations: 0.9553 MB / 469.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001353/0.6088, allocations: 8 kB / 469.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6088, allocations: 4 kB / 469.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/0.6088, allocations: 3.984 kB / 469.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004999/0.6138, allocations: 1.648 MB / 471.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.6138, allocations: 0 / 471.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007151/0.6145, allocations: 95.83 kB / 471.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/0.616, allocations: 257.5 kB / 471.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.941e-05/0.6161, allocations: 20 kB / 471.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01843/0.6345, allocations: 4.51 MB / 476 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.6345, allocations: 3.938 kB / 476 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00418/0.6387, allocations: 1.362 MB / 477.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/0.6392, allocations: 147.4 kB / 477.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.6393, allocations: 20 kB / 477.5 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003126/0.6425, allocations: 39.97 kB / 477.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/0.6428, allocations: 68.86 kB / 477.6 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.6429, allocations: 35.92 kB / 477.6 MB, free: 8.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006507/0.6436, allocations: 306.9 kB / 477.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6436, allocations: 0 / 477.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001967/0.6455, allocations: 315.3 kB / 478.2 MB, free: 7.637 MB / 382.1 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.0004523/0.646, allocations: 171 kB / 478.4 MB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003537/0.6495, allocations: 1.052 MB / 479.5 MB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6495, allocations: 0 / 479.5 MB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00218/0.6517, allocations: 0.7092 MB / 480.2 MB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.6528, allocations: 110.2 kB / 480.3 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005163/0.6579, allocations: 1.676 MB / 482 MB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006991/0.6586, allocations: 412.3 kB / 482.4 MB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005869/0.6592, allocations: 73.22 kB / 482.4 MB, free: 3.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.6595, allocations: 51.42 kB / 482.5 MB, free: 3.266 MB / 382.1 MB Notification: Performance of SimCode: time 1.243e-06/0.6595, allocations: 0 / 482.5 MB, free: 3.266 MB / 382.1 MB Notification: Performance of Templates: time 0.04251/0.702, allocations: 12.91 MB / 495.4 MB, free: 6.57 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.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: 8.310007624997525]