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.0008134/0.0008134, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003638/0.003638, allocations: 158.8 kB / 24.7 MB, free: 8.891 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.8604/0.8604, allocations: 177 MB / 204.9 MB, free: 5.738 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.734e-06/1.734e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.042e-05, allocations: 3.125 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.004623/0.004643, allocations: 5.605 MB / 331.4 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.006919, allocations: 2.129 MB / 333.5 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.007166, allocations: 23.88 kB / 333.5 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008828/0.008049, allocations: 0.7497 MB / 334.3 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007247/0.008774, allocations: 0.6082 MB / 334.9 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.009298, allocations: 0.5181 MB / 335.4 MB, free: 5.699 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007251/0.01002, allocations: 1.237 MB / 336.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000671/0.01069, allocations: 0.7571 MB / 337.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004892/0.01118, allocations: 0.6938 MB / 338.1 MB, free: 2.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.01152, allocations: 410.8 kB / 338.5 MB, free: 2.578 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.036e-05/0.01161, allocations: 112 kB / 338.6 MB, free: 2.469 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.0119, allocations: 283.6 kB / 338.9 MB, free: 2.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.01203, allocations: 255 kB / 339.1 MB, free: 1.941 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.01225, allocations: 375.1 kB / 339.5 MB, free: 1.574 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.01328, allocations: 1.523 MB / 341 MB, free: 44 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.01328, allocations: 4 kB / 341 MB, free: 40 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01328, allocations: 0 / 341 MB, free: 40 kB / 298.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.01329, allocations: 4 kB / 341 MB, free: 36 kB / 298.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.001807/0.0151, allocations: 1.658 MB / 342.7 MB, free: 14.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.01513, allocations: 11.98 kB / 342.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.01626, allocations: 391.9 kB / 343.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/0.01681, allocations: 0.5281 MB / 343.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.01685, allocations: 74.38 kB / 343.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.306e-05/0.01694, allocations: 96.38 kB / 343.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.01804, allocations: 1.124 MB / 344.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.01806, allocations: 4.141 kB / 344.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.026e-05/0.01812, allocations: 48.12 kB / 345 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.01814, allocations: 31.98 kB / 345 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009888/0.01912, allocations: 0.8432 MB / 345.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.02192, allocations: 2.954 MB / 348.8 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.02299, allocations: 0.859 MB / 349.6 MB, free: 7.168 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004947/0.02349, allocations: 410.7 kB / 350 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.444e-05/0.02355, allocations: 24.58 kB / 350.1 MB, free: 6.738 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005472/0.0241, allocations: 0.5933 MB / 350.7 MB, free: 6.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=84): time 1.763e-06/0.0241, allocations: 0 / 350.7 MB, free: 6.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=84): time 0.002378/0.02648, allocations: 1.477 MB / 352.1 MB, free: 4.602 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.02655, allocations: 196.9 kB / 352.3 MB, free: 4.367 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.02687, allocations: 461.8 kB / 352.8 MB, free: 3.906 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.02692, allocations: 45.64 kB / 352.8 MB, free: 3.855 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.02711, allocations: 428.7 kB / 353.2 MB, free: 3.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.02725, allocations: 289.5 kB / 353.5 MB, free: 3.145 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.02739, allocations: 154.6 kB / 353.7 MB, free: 2.988 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.02751, allocations: 374.8 kB / 354 MB, free: 2.613 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/0.02783, allocations: 265.9 kB / 354.3 MB, free: 2.352 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.02829, allocations: 0.584 MB / 354.9 MB, free: 1.656 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007984/0.02909, allocations: 0.7435 MB / 355.6 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.02909, allocations: 3.938 kB / 355.6 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001187/0.03028, allocations: 1.01 MB / 356.6 MB, free: 15.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.0303, allocations: 11.98 kB / 356.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.0303, allocations: 7.984 kB / 356.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004933/0.0308, allocations: 261.5 kB / 356.9 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.03107, allocations: 143.8 kB / 357.1 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/0.03447, allocations: 4.547 MB / 361.6 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.03476, allocations: 99.44 kB / 361.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.0348, allocations: 36 kB / 361.7 MB, free: 10.52 MB / 330.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.0002665/0.03507, allocations: 243.1 kB / 362 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.03514, allocations: 75.58 kB / 362.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.03633, allocations: 0.9553 MB / 363 MB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.03633, allocations: 8.062 kB / 363 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.03634, allocations: 4 kB / 363 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.03635, allocations: 7.984 kB / 363 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.03816, allocations: 1.652 MB / 364.7 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.03817, allocations: 0 / 364.7 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.03837, allocations: 95.88 kB / 364.8 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004251/0.0388, allocations: 261.5 kB / 365 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.03883, allocations: 16 kB / 365 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003296/0.04213, allocations: 4.503 MB / 369.5 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.04213, allocations: 8.047 kB / 369.6 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.04367, allocations: 1.366 MB / 370.9 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.04385, allocations: 143.3 kB / 371.1 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.0439, allocations: 16 kB / 371.1 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.0441, allocations: 39.97 kB / 371.1 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.04422, allocations: 73.05 kB / 371.2 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.04425, allocations: 23.98 kB / 371.2 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002222/0.04448, allocations: 314.8 kB / 371.5 MB, free: 452 kB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04448, allocations: 4 kB / 371.5 MB, free: 448 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.000717/0.04519, allocations: 315.3 kB / 371.8 MB, free: 132 kB / 330.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.0002407/0.04543, allocations: 159.1 kB / 372 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.04716, allocations: 1.046 MB / 373 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.04716, allocations: 0 / 373 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008309/0.04799, allocations: 0.724 MB / 373.8 MB, free: 14.13 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.04847, allocations: 109.2 kB / 373.9 MB, free: 14.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.05098, allocations: 1.647 MB / 375.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.05142, allocations: 408.3 kB / 375.9 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.05161, allocations: 56.48 kB / 376 MB, free: 11.86 MB / 346.7 MB Notification: Performance of SimCode: time 1.603e-06/0.05161, allocations: 4 kB / 376 MB, free: 11.86 MB / 346.7 MB Notification: Performance of Templates: time 0.02182/0.07343, allocations: 18 MB / 394 MB, free: 9.863 MB / 362.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.105522897094488]