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.001846/0.001846, allocations: 76.2 kB / 21.24 MB, free: 0.5391 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.002154/0.002154, allocations: 165.1 kB / 24.5 MB, free: 3.711 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.449/1.449, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.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.001575/0.001575, allocations: 50.86 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08613/0.08771, allocations: 53.34 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007766/0.09547, allocations: 5.595 MB / 384.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004118/0.09959, allocations: 2.122 MB / 386.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.09998, allocations: 23.88 kB / 386.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.1019, allocations: 0.7345 MB / 387.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.1032, allocations: 0.5977 MB / 388 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.1043, allocations: 0.5218 MB / 388.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.1055, allocations: 1.191 MB / 389.7 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.1066, allocations: 0.7533 MB / 390.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005619/0.1072, allocations: 478.3 kB / 390.9 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006632/0.1078, allocations: 493.5 kB / 391.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.108, allocations: 111.9 kB / 391.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005143/0.1085, allocations: 275.9 kB / 391.8 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.1087, allocations: 243.1 kB / 392 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004744/0.1092, allocations: 461.8 kB / 392.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.1108, allocations: 1.49 MB / 394 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1108, allocations: 4 kB / 394 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1108, allocations: 0 / 394 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1108, allocations: 0 / 394 MB, free: 0.5156 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.003308/0.1142, allocations: 1.682 MB / 395.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1142, allocations: 12.03 kB / 395.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/0.1167, allocations: 387.9 kB / 396 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009384/0.1177, allocations: 0.5211 MB / 396.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.57e-05/0.1177, allocations: 74.38 kB / 396.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.1179, allocations: 104.3 kB / 396.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.1197, allocations: 1.124 MB / 397.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/0.1198, allocations: 4 kB / 397.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.599e-05/0.1199, allocations: 40 kB / 397.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.962e-05/0.1199, allocations: 24 kB / 397.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.1217, allocations: 0.8511 MB / 398.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004943/0.1266, allocations: 2.958 MB / 401.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.1286, allocations: 0.8441 MB / 402.6 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008967/0.1295, allocations: 399.5 kB / 403 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.564e-05/0.1296, allocations: 24.64 kB / 403 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009472/0.1305, allocations: 0.5933 MB / 403.6 MB, free: 6.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.294e-06/0.1305, allocations: 4 kB / 403.6 MB, free: 6.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004583/0.1351, allocations: 1.485 MB / 405.1 MB, free: 5.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.1352, allocations: 192.9 kB / 405.3 MB, free: 4.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/0.1358, allocations: 465.8 kB / 405.7 MB, free: 4.375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.1358, allocations: 41.7 kB / 405.7 MB, free: 4.328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.1362, allocations: 428.7 kB / 406.2 MB, free: 3.902 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.1364, allocations: 293.5 kB / 406.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/0.1366, allocations: 154.6 kB / 406.6 MB, free: 3.457 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.1368, allocations: 374.7 kB / 407 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.1374, allocations: 277.8 kB / 407.2 MB, free: 2.809 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008162/0.1382, allocations: 0.5684 MB / 407.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.1396, allocations: 0.7473 MB / 408.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.1396, allocations: 7.938 kB / 408.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002119/0.1417, allocations: 1.01 MB / 409.6 MB, free: 284 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1417, allocations: 4 kB / 409.6 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.1417, allocations: 8 kB / 409.6 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000887/0.1426, allocations: 260.7 kB / 409.8 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/0.1432, allocations: 151.8 kB / 410 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005846/0.1491, allocations: 4.556 MB / 414.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005691/0.1496, allocations: 103.5 kB / 414.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.194e-05/0.1497, allocations: 31.98 kB / 414.7 MB, free: 10.98 MB / 382.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.0003401/0.15, allocations: 238.3 kB / 414.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.1502, allocations: 71.56 kB / 415 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.1523, allocations: 0.9631 MB / 415.9 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.1523, allocations: 8 kB / 416 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1523, allocations: 8.047 kB / 416 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.1523, allocations: 3.984 kB / 416 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.1554, allocations: 1.644 MB / 417.6 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1554, allocations: 0 / 417.6 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.1559, allocations: 95.88 kB / 417.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007882/0.1567, allocations: 257.4 kB / 418 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.1567, allocations: 23.98 kB / 418 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005458/0.1622, allocations: 4.512 MB / 422.5 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1622, allocations: 192 / 422.5 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.1648, allocations: 1.366 MB / 423.9 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.1651, allocations: 139.2 kB / 424 MB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-05/0.1652, allocations: 31.92 kB / 424 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/0.1656, allocations: 35.97 kB / 424.1 MB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.1658, allocations: 76.8 kB / 424.1 MB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.613e-05/0.1659, allocations: 27.94 kB / 424.2 MB, free: 1.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003514/0.1662, allocations: 310.9 kB / 424.5 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1662, allocations: 0 / 424.5 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000981/0.1672, allocations: 311.3 kB / 424.8 MB, free: 0.5898 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.0002629/0.1675, allocations: 164 kB / 424.9 MB, free: 432 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.1694, allocations: 1.057 MB / 426 MB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1694, allocations: 0 / 426 MB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.1706, allocations: 0.7172 MB / 426.7 MB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005842/0.1712, allocations: 106 kB / 426.8 MB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.1741, allocations: 1.664 MB / 428.5 MB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.1746, allocations: 408.3 kB / 428.9 MB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002815/0.1749, allocations: 81.2 kB / 428.9 MB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.175, allocations: 52.48 kB / 429 MB, free: 12.23 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.175, allocations: 0 / 429 MB, free: 12.23 MB / 398.1 MB Notification: Performance of Templates: time 0.02112/0.1961, allocations: 11.62 MB / 440.6 MB, free: 0.7812 MB / 398.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 -s ida -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: 4.782638750970364]