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.00127/0.00127, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001389/0.001389, allocations: 209.9 kB / 24.49 MB, free: 4.148 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 1.388/1.388, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.002151/0.002151, allocations: 51.92 kB / 379 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2353, allocations: 53.36 MB / 432.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007845/0.2432, allocations: 6.351 MB / 438.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004543/0.2477, allocations: 2.258 MB / 441 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000624/0.2484, allocations: 19.94 kB / 441 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.2503, allocations: 0.7578 MB / 441.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.2519, allocations: 0.6089 MB / 442.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.253, allocations: 0.5261 MB / 442.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.2545, allocations: 1.199 MB / 444.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.2556, allocations: 0.7752 MB / 444.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006336/0.2562, allocations: 482.3 kB / 445.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006988/0.2569, allocations: 0.5406 MB / 445.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.2571, allocations: 112 kB / 446 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005957/0.2577, allocations: 287.8 kB / 446.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.2579, allocations: 251.1 kB / 446.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005248/0.2584, allocations: 0.548 MB / 447.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.2602, allocations: 1.486 MB / 448.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2602, allocations: 0 / 448.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2602, allocations: 0 / 448.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.2602, allocations: 4 kB / 448.6 MB, free: 6.645 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.003332/0.2635, allocations: 1.67 MB / 450.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2636, allocations: 8.031 kB / 450.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/0.266, allocations: 395.9 kB / 450.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009779/0.267, allocations: 0.5172 MB / 451.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/0.2671, allocations: 78.38 kB / 451.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.2672, allocations: 104.3 kB / 451.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.269, allocations: 1.024 MB / 452.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.269, allocations: 0 / 452.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.119e-05/0.2691, allocations: 47.98 kB / 452.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.2691, allocations: 24 kB / 452.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.2708, allocations: 0.8549 MB / 453.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005331/0.2761, allocations: 3.357 MB / 456.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.278, allocations: 0.8553 MB / 457.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008432/0.2789, allocations: 403.5 kB / 457.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.279, allocations: 28.62 kB / 457.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008825/0.2799, allocations: 496.8 kB / 458.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.525e-06/0.2799, allocations: 4 kB / 458.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004458/0.2843, allocations: 1.485 MB / 459.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.2845, allocations: 192.9 kB / 460.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/0.2851, allocations: 478 kB / 460.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.354e-05/0.2851, allocations: 41.7 kB / 460.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.2855, allocations: 432.7 kB / 461 MB, free: 9.852 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.2857, allocations: 289.5 kB / 461.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.286, allocations: 158.6 kB / 461.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.2861, allocations: 378.7 kB / 461.8 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/0.2867, allocations: 269.9 kB / 462.1 MB, free: 8.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/0.2874, allocations: 483.2 kB / 462.6 MB, free: 8.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.2887, allocations: 0.7435 MB / 463.3 MB, free: 7.387 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2887, allocations: 0 / 463.3 MB, free: 7.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002068/0.2908, allocations: 1.022 MB / 464.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2908, allocations: 12.03 kB / 464.3 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.2908, allocations: 11.94 kB / 464.3 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008977/0.2917, allocations: 263.5 kB / 464.6 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.2923, allocations: 143.8 kB / 464.7 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005806/0.2981, allocations: 4.66 MB / 469.4 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006528/0.2987, allocations: 99.44 kB / 469.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/0.2988, allocations: 32 kB / 469.5 MB, free: 0.9219 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.0004108/0.2992, allocations: 257.5 kB / 469.8 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.2993, allocations: 71.58 kB / 469.9 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/0.3013, allocations: 0.9555 MB / 470.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.3014, allocations: 11.94 kB / 470.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.3014, allocations: 4 kB / 470.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.3014, allocations: 3.984 kB / 470.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/0.3046, allocations: 1.881 MB / 472.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3046, allocations: 192 / 472.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004329/0.3051, allocations: 95.88 kB / 472.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007828/0.3059, allocations: 261.4 kB / 473.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.3059, allocations: 19.98 kB / 473.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005441/0.3114, allocations: 4.606 MB / 477.7 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.3114, allocations: 8.109 kB / 477.7 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.314, allocations: 1.362 MB / 479.1 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/0.3143, allocations: 143.3 kB / 479.2 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.3144, allocations: 20 kB / 479.2 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.3148, allocations: 39.97 kB / 479.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.315, allocations: 72.86 kB / 479.3 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/0.315, allocations: 31.92 kB / 479.4 MB, free: 6.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004117/0.3154, allocations: 330.9 kB / 479.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3154, allocations: 0 / 479.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001018/0.3165, allocations: 307.3 kB / 480 MB, free: 6.129 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.0002754/0.3167, allocations: 167 kB / 480.1 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.3187, allocations: 1.056 MB / 481.2 MB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3187, allocations: 1.438 kB / 481.2 MB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.3199, allocations: 0.7158 MB / 481.9 MB, free: 4.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.3205, allocations: 130.2 kB / 482 MB, free: 3.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.3237, allocations: 1.716 MB / 483.8 MB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.3244, allocations: 1.002 MB / 484.8 MB, free: 1.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.3246, allocations: 59.42 kB / 484.8 MB, free: 1.16 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3246, allocations: 0 / 484.8 MB, free: 1.16 MB / 382.1 MB Notification: Performance of Templates: time 0.02399/0.3486, allocations: 17.86 MB / 0.4909 GB, free: 15.33 MB / 414.1 MB " [Timeout remaining time 660] 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 -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.21956672007218]