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.001078/0.001078, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001469/0.002547, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001067/0.001067, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.002512, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.8973/0.8973, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07338/0.9707, allocations: 53.86 MB / 243.8 MB, free: 14.93 MB / 250.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.252e-06/1.252e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.116e-06/9.368e-06, allocations: 2.312 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.004546/0.004555, allocations: 6.108 MB / 251.1 MB, free: 7.531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.007403, allocations: 2.265 MB / 253.4 MB, free: 5.254 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002935/0.007696, allocations: 23.88 kB / 253.4 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008963/0.008593, allocations: 0.7885 MB / 254.2 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008094/0.009402, allocations: 0.6285 MB / 254.8 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.01, allocations: 0.5103 MB / 255.3 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007841/0.01079, allocations: 1.23 MB / 256.6 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006566/0.01144, allocations: 0.7533 MB / 257.3 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005677/0.01201, allocations: 0.7573 MB / 258.1 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.01237, allocations: 430.7 kB / 258.5 MB, free: 100 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.01247, allocations: 112 kB / 258.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.01281, allocations: 291.5 kB / 258.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.01293, allocations: 183.4 kB / 259.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.01315, allocations: 311.4 kB / 259.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000696/0.01384, allocations: 0.9107 MB / 260.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.01385, allocations: 4 kB / 260.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01385, allocations: 0 / 260.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.01387, allocations: 0 / 260.3 MB, free: 14.3 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.001592/0.01546, allocations: 1.686 MB / 262 MB, free: 12.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.01549, allocations: 16.56 kB / 262 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.0167, allocations: 0.5198 MB / 262.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.01711, allocations: 394.9 kB / 262.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.01714, allocations: 74.38 kB / 263 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.314e-05/0.01723, allocations: 108.4 kB / 263.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000673/0.0179, allocations: 0.8203 MB / 263.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.01792, allocations: 4.125 kB / 263.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/0.01797, allocations: 44.12 kB / 263.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.01798, allocations: 24 kB / 264 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.01834, allocations: 333.7 kB / 264.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.02059, allocations: 2.415 MB / 266.7 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007413/0.02134, allocations: 0.6632 MB / 267.4 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.02162, allocations: 255.5 kB / 267.6 MB, free: 6.695 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.224e-05/0.02168, allocations: 28.64 kB / 267.6 MB, free: 6.668 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003251/0.022, allocations: 455.4 kB / 268.1 MB, free: 6.172 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.474e-06/0.02201, allocations: 3.984 kB / 268.1 MB, free: 6.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.001584/0.02359, allocations: 0.9599 MB / 269.1 MB, free: 5.195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.02363, allocations: 94.05 kB / 269.2 MB, free: 5.082 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.02387, allocations: 411.1 kB / 269.6 MB, free: 4.668 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.02391, allocations: 45.69 kB / 269.6 MB, free: 4.617 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.02405, allocations: 377.7 kB / 270 MB, free: 4.242 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.02418, allocations: 293.5 kB / 270.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.02432, allocations: 162.5 kB / 270.4 MB, free: 3.789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.02441, allocations: 378.6 kB / 270.8 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.02451, allocations: 89.95 kB / 270.9 MB, free: 3.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.02475, allocations: 414 kB / 271.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.0251, allocations: 464 kB / 271.7 MB, free: 2.273 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.02511, allocations: 0 / 271.7 MB, free: 2.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0005899/0.0257, allocations: 0.5609 MB / 272.3 MB, free: 1.699 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.02571, allocations: 8 kB / 272.3 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.02572, allocations: 7.984 kB / 272.3 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004558/0.02618, allocations: 217.8 kB / 272.5 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.02647, allocations: 167.7 kB / 272.7 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.02872, allocations: 3.591 MB / 276.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.02896, allocations: 87.5 kB / 276.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.02899, allocations: 32.02 kB / 276.4 MB, free: 13.43 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.00015/0.02914, allocations: 180.2 kB / 276.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.0292, allocations: 67.94 kB / 276.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006218/0.02983, allocations: 0.5431 MB / 277.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.02983, allocations: 8 kB / 277.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.02984, allocations: 0 / 277.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.02985, allocations: 3.984 kB / 277.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.031, allocations: 0.9784 MB / 278.2 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.031, allocations: 4.062 kB / 278.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.03122, allocations: 103.9 kB / 278.3 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.03134, allocations: 91.36 kB / 278.4 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004069/0.03175, allocations: 218.6 kB / 278.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.03178, allocations: 19.98 kB / 278.6 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.03383, allocations: 3.529 MB / 282.1 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.03383, allocations: 0 / 282.1 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006851/0.03451, allocations: 0.7145 MB / 282.8 MB, free: 6.727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.03456, allocations: 16 kB / 282.8 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.03474, allocations: 43.91 kB / 282.9 MB, free: 6.668 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-05/0.03484, allocations: 68.86 kB / 283 MB, free: 6.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.03486, allocations: 23.98 kB / 283 MB, free: 6.574 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.03497, allocations: 168.4 kB / 283.1 MB, free: 6.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03497, allocations: 0 / 283.1 MB, free: 6.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005232/0.0355, allocations: 319.3 kB / 283.5 MB, free: 6.098 MB / 282.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.000174/0.03567, allocations: 140.5 kB / 283.6 MB, free: 5.953 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006391/0.03631, allocations: 0.7693 MB / 284.4 MB, free: 5.156 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/0.03633, allocations: 15.92 kB / 284.4 MB, free: 5.141 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.03674, allocations: 0.5785 MB / 285 MB, free: 4.535 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.03705, allocations: 181.2 kB / 285.1 MB, free: 4.359 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005413/0.04247, allocations: 1.591 MB / 286.7 MB, free: 2.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.04258, allocations: 188.7 kB / 286.9 MB, free: 2.523 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.04276, allocations: 81.2 kB / 287 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.04297, allocations: 173.2 kB / 287.2 MB, free: 2.273 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.04297, allocations: 0 / 287.2 MB, free: 2.273 MB / 282.7 MB Notification: Performance of Templates: time 0.1077/0.1507, allocations: 12.88 MB / 300 MB, free: 26.36 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 -ignoreHideResult -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.8846107330173254]